about summary refs log tree commit diff
path: root/pkgs/tools/archivers/innoextract/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/archivers/innoextract/default.nix')
-rw-r--r--pkgs/tools/archivers/innoextract/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/archivers/innoextract/default.nix b/pkgs/tools/archivers/innoextract/default.nix
index 1219c48ab7d2..e2e3ddcdc3e7 100644
--- a/pkgs/tools/archivers/innoextract/default.nix
+++ b/pkgs/tools/archivers/innoextract/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [ xz boost ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   # Python is reported as missing during the build, however
   # including Python does not change the output.