zstd.patches: clean up

This was discussed on PR #125185.
This commit is contained in:
Vladimír Čunát 2021-06-05 07:34:46 +02:00
parent 7b686ba07b
commit 99995bc930
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
1 changed files with 5 additions and 4 deletions

View File

@ -24,12 +24,13 @@ stdenv.mkDerivation rec {
# This patches makes sure we do not attempt to use the MD5 implementation
# of the host platform when running the tests
./playtests-darwin.patch
] ++ lib.optional stdenv.is32bit
(fetchpatch { # https://github.com/facebook/zstd/pull/2606
# https://github.com/facebook/zstd/pull/2606
(fetchpatch {
name = "test-memory-usage.diff";
url = "https://github.com/facebook/zstd/commit/6f40571a.diff";
url = "https://github.com/facebook/zstd/commit/6f40571ae2feb8bfa0a56f9871b6ee3084085fc2.diff";
sha256 = "1484k5b99wplv9vjvvxjn88l13hlay6bynhq3zh1nd34whyi1kd0";
});
})
];
postPatch = lib.optionalString (!static) ''