about summary refs log tree commit diff
path: root/pkgs/development/libraries/minizip-ng/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/minizip-ng/default.nix')
-rw-r--r--pkgs/development/libraries/minizip-ng/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/minizip-ng/default.nix b/pkgs/development/libraries/minizip-ng/default.nix
index fde280137e74..b15997cb436b 100644
--- a/pkgs/development/libraries/minizip-ng/default.nix
+++ b/pkgs/development/libraries/minizip-ng/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
     "-DMZ_BUILD_TESTS=${if finalAttrs.finalPackage.doCheck then "ON" else "OFF"}"
     "-DMZ_BUILD_UNIT_TESTS=${if finalAttrs.finalPackage.doCheck then "ON" else "OFF"}"
     "-DMZ_LIB_SUFFIX='-ng'"
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     # missing header file
     "-DMZ_LIBCOMP=OFF"
   ];