about summary refs log tree commit diff
path: root/pkgs/development/libraries/afflib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/afflib/default.nix')
-rw-r--r--pkgs/development/libraries/afflib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/afflib/default.nix b/pkgs/development/libraries/afflib/default.nix
index e82c3c8dfe77..eff94a276cd8 100644
--- a/pkgs/development/libraries/afflib/default.nix
+++ b/pkgs/development/libraries/afflib/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoreconfHook ];
   buildInputs = [ zlib curl expat openssl python3 ]
     ++ lib.optionals (with stdenv; isLinux || isDarwin) [ fuse ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
 
   meta = {
     homepage = "http://afflib.sourceforge.net/";