about summary refs log tree commit diff
path: root/pkgs/development/interpreters/mujs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/mujs/default.nix')
-rw-r--r--pkgs/development/interpreters/mujs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/mujs/default.nix b/pkgs/development/interpreters/mujs/default.nix
index 225146b33fe7..9bffafe4bd73 100644
--- a/pkgs/development/interpreters/mujs/default.nix
+++ b/pkgs/development/interpreters/mujs/default.nix
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ readline ];
 
-  nativeBuildInputs = lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ fixDarwinDylibNames ];
 
   makeFlags = [ "prefix=$(out)" ];