about summary refs log tree commit diff
path: root/pkgs/development/libraries/cminpack/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/cminpack/default.nix')
-rw-r--r--pkgs/development/libraries/cminpack/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/cminpack/default.nix b/pkgs/development/libraries/cminpack/default.nix
index 20782c8499cb..81224c0fdaa3 100644
--- a/pkgs/development/libraries/cminpack/default.nix
+++ b/pkgs/development/libraries/cminpack/default.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = lib.optionals withBlas [
     blas
-  ] ++ lib.optionals (withBlas && stdenv.isDarwin) [
+  ] ++ lib.optionals (withBlas && stdenv.hostPlatform.isDarwin) [
     darwin.apple_sdk.frameworks.Accelerate
     darwin.apple_sdk.frameworks.CoreGraphics
     darwin.apple_sdk.frameworks.CoreVideo