Merge pull request #146891 from smancill/ZHF-darwin-arj

arj: fix build on darwin
This commit is contained in:
Ben Siraphob
2021-11-21 13:07:17 -05:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -128,6 +128,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook ];
postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace environ.c \
--replace " #include <sys/statfs.h>" " #include <sys/mount.h>"
'';
preAutoreconf = ''
cd gnu
'';
+3 -1
View File
@@ -1281,7 +1281,9 @@ with pkgs;
argyllcms = callPackage ../tools/graphics/argyllcms {};
arj = callPackage ../tools/archivers/arj { };
arj = callPackage ../tools/archivers/arj {
stdenv = gccStdenv;
};
arp-scan = callPackage ../tools/misc/arp-scan { };