about summary refs log tree commit diff
path: root/pkgs/by-name/fe/febio/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/fe/febio/package.nix')
-rw-r--r--pkgs/by-name/fe/febio/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/fe/febio/package.nix b/pkgs/by-name/fe/febio/package.nix
index 01897ae76036..3f70ad711d76 100644
--- a/pkgs/by-name/fe/febio/package.nix
+++ b/pkgs/by-name/fe/febio/package.nix
@@ -14,7 +14,7 @@
 }:
 
 let
-  stdenv' = if stdenv.isDarwin then overrideSDK stdenv "11.0" else stdenv;
+  stdenv' = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
 in
 
 stdenv'.mkDerivation (finalAttrs: {
@@ -56,7 +56,7 @@ stdenv'.mkDerivation (finalAttrs: {
   buildInputs =
     [ zlib ]
     ++ lib.optionals mklSupport [ mkl ]
-    ++ lib.optionals stdenv.isDarwin [
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [
       darwin.apple_sdk.frameworks.CoreGraphics
       darwin.apple_sdk.frameworks.CoreVideo
       darwin.apple_sdk.frameworks.Accelerate