about summary refs log tree commit diff
path: root/pkgs/development/libraries/blst/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/blst/default.nix')
-rw-r--r--pkgs/development/libraries/blst/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/blst/default.nix b/pkgs/development/libraries/blst/default.nix
index 2bf2e2c614e7..50d080b9bf91 100644
--- a/pkgs/development/libraries/blst/default.nix
+++ b/pkgs/development/libraries/blst/default.nix
@@ -59,9 +59,9 @@ stdenv.mkDerivation ( finalAttrs: {
 
   # ensure we have the right install id set.  Otherwise the library
   # wouldn't be found during install.  The alternative would be to work
-  # lib.optional stdenv.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/libblst.dylib";
+  # lib.optional stdenv.hostPlatform.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/libblst.dylib";
   # into the setup.sh
-  postFixup = lib.optionalString stdenv.isDarwin ''
+  postFixup = lib.optionalString stdenv.hostPlatform.isDarwin ''
     install_name_tool -id $out/lib/libblst.dylib $out/lib/libblst.dylib
   '';