about summary refs log tree commit diff
path: root/pkgs/development/libraries/physfs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/physfs/default.nix')
-rw-r--r--pkgs/development/libraries/physfs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/physfs/default.nix b/pkgs/development/libraries/physfs/default.nix
index 27f7c019ac77..e00be9c841f9 100644
--- a/pkgs/development/libraries/physfs/default.nix
+++ b/pkgs/development/libraries/physfs/default.nix
@@ -16,7 +16,7 @@ let
     nativeBuildInputs = [ cmake doxygen ];
 
     buildInputs = [ zlib ]
-      ++ lib.optionals stdenv.isDarwin [ Foundation ];
+      ++ lib.optionals stdenv.hostPlatform.isDarwin [ Foundation ];
 
     doInstallCheck = true;