Merge pull request #146891 from smancill/ZHF-darwin-arj
arj: fix build on darwin
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user