about summary refs log tree commit diff
path: root/pkgs/tools/archivers/p7zip/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/p7zip/default.nix')
-rw-r--r--pkgs/tools/archivers/p7zip/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/p7zip/default.nix b/pkgs/tools/archivers/p7zip/default.nix
index 3ced84bed025..e77904e120d6 100644
--- a/pkgs/tools/archivers/p7zip/default.nix
+++ b/pkgs/tools/archivers/p7zip/default.nix
@@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   preConfigure = ''
     buildFlags=all3
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     cp makefile.macosx_llvm_64bits makefile.machine
   '';