Merge pull request #190187 from stephank/fix/jdupes-darwin

jdupes: fix darwin build
This commit is contained in:
José Romildo Malaquias 2022-09-09 09:24:50 -03:00 committed by GitHub
commit c72ec46420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec {
pname = "jdupes";
@ -15,6 +15,14 @@ stdenv.mkDerivation rec {
postFetch = "rm -r $out/testdir";
};
patches = [
(fetchpatch {
name = "darwin-stack-size.patch";
url = "https://github.com/jbruchon/jdupes/commit/8f5b06109b44a9e4316f9445da3044590a6c63e2.patch";
sha256 = "0saq92v0mm5g979chr062psvwp3i3z23mgqrcliq4m07lvwc7i3s";
})
];
dontConfigure = true;
makeFlags = [