about summary refs log tree commit diff
path: root/pkgs/development/interpreters/hashlink/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/hashlink/default.nix')
-rw-r--r--pkgs/development/interpreters/hashlink/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/hashlink/default.nix b/pkgs/development/interpreters/hashlink/default.nix
index f017e1a43c86..6ecb4913dbc8 100644
--- a/pkgs/development/interpreters/hashlink/default.nix
+++ b/pkgs/development/interpreters/hashlink/default.nix
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
     cp -r other/haxelib/* "${haxelibPath}"
   '';
 
-  postFixup = lib.optionalString stdenv.isDarwin ''
+  postFixup = lib.optionalString stdenv.hostPlatform.isDarwin ''
     install_name_tool -change libhl.dylib $out/lib/libhl.dylib $out/bin/hl
   '';