jdupes: fix darwin build

This commit is contained in:
Stéphan Kochen 2022-09-07 22:38:26 +02:00
parent 84462371eb
commit e4544335f5

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 = [