Unverified Commit 28bfd7ce authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

redis: fix flaky test tests/unit/memefficiency.tcl
parents b26f8da7 a2fe9a01
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
{ 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 ]