about summary refs log tree commit diff
path: root/pkgs/development/libraries/libfilezilla/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libfilezilla/default.nix')
-rw-r--r--pkgs/development/libraries/libfilezilla/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libfilezilla/default.nix b/pkgs/development/libraries/libfilezilla/default.nix
index 4076e5325c93..bbbcb81797af 100644
--- a/pkgs/development/libraries/libfilezilla/default.nix
+++ b/pkgs/development/libraries/libfilezilla/default.nix
@@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ autoreconfHook pkg-config ];
 
   buildInputs = [ gettext gnutls nettle libxcrypt ]
-    ++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ApplicationServices ];
 
-  preBuild = lib.optionalString (stdenv.isDarwin) ''
+  preBuild = lib.optionalString (stdenv.hostPlatform.isDarwin) ''
     export MACOSX_DEPLOYMENT_TARGET=11.0
   '';