about summary refs log tree commit diff
path: root/pkgs/tools/archivers/arj/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/arj/default.nix')
-rw-r--r--pkgs/tools/archivers/arj/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/arj/default.nix b/pkgs/tools/archivers/arj/default.nix
index 6f365e226e20..5ec946788d92 100644
--- a/pkgs/tools/archivers/arj/default.nix
+++ b/pkgs/tools/archivers/arj/default.nix
@@ -128,7 +128,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoreconfHook ];
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace environ.c \
         --replace "  #include <sys/statfs.h>" "  #include <sys/mount.h>"
   '';