summary refs log tree commit diff
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2022-09-07 22:38:26 +0200
committerStéphan Kochen <git@stephank.nl>2022-09-07 22:38:26 +0200
commite4544335f5ae850dc2433c0906e20e3180e11dad (patch)
tree2e3eb264e37e983104db3078a1dd1738a5fd7ff4
parent84462371ebdff40d6303232a0f7372bcf0886084 (diff)
downloadnixpkgs-e4544335f5ae850dc2433c0906e20e3180e11dad.tar
nixpkgs-e4544335f5ae850dc2433c0906e20e3180e11dad.tar.gz
nixpkgs-e4544335f5ae850dc2433c0906e20e3180e11dad.tar.bz2
nixpkgs-e4544335f5ae850dc2433c0906e20e3180e11dad.tar.lz
nixpkgs-e4544335f5ae850dc2433c0906e20e3180e11dad.tar.xz
nixpkgs-e4544335f5ae850dc2433c0906e20e3180e11dad.tar.zst
nixpkgs-e4544335f5ae850dc2433c0906e20e3180e11dad.zip
jdupes: fix darwin build
-rw-r--r--pkgs/tools/misc/jdupes/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/misc/jdupes/default.nix b/pkgs/tools/misc/jdupes/default.nix
index c3b47a514db..71806dcb8d1 100644
--- a/pkgs/tools/misc/jdupes/default.nix
+++ b/pkgs/tools/misc/jdupes/default.nix
@@ -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 = [