Merge pull request #220659 from LeSuisse/redis-flaky-test

redis: fix flaky test tests/unit/memefficiency.tcl
This commit is contained in:
Martin Weinelt 2023-03-12 13:29:05 +00:00 committed by GitHub
commit 28bfd7cedc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 ]