redis: fix flaky test tests/unit/memefficiency.tcl

This commit is contained in:
Thomas Gerbet 2023-03-11 12:16:11 +01:00
parent cafe39a063
commit a2fe9a01e5

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, lua, pkg-config, nixosTests
{ lib, stdenv, fetchurl, fetchpatch, lua, pkg-config, nixosTests
, tcl, which, ps, getconf
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
# dependency ordering is broken at the moment when building with openssl
@ -14,6 +14,14 @@ stdenv.mkDerivation rec {
hash = "sha256-93E1wqR8kVHUAov+o7NEcKtNMk0UhPeahMbzKjz7n2U=";
};
patches = [
# Fix flaky test tests/unit/memefficiency.tcl
(fetchpatch {
url = "https://github.com/redis/redis/commit/bfe50a30edff6837897964ac3374c082b0d9e5da.patch";
sha256 = "sha256-0GMiygbO7LbL1rnuOByOJYE2BKUSI+yy6YH781E2zBw=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ lua ]