about summary refs log tree commit diff
path: root/pkgs/development/libraries/opencascade-occt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/opencascade-occt/default.nix')
-rw-r--r--pkgs/development/libraries/opencascade-occt/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/opencascade-occt/default.nix b/pkgs/development/libraries/opencascade-occt/default.nix
index a09cacaf3928..e9f3e0794d33 100644
--- a/pkgs/development/libraries/opencascade-occt/default.nix
+++ b/pkgs/development/libraries/opencascade-occt/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
     libXext
     libXmu
     libXi
-  ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Cocoa;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Cocoa;
 
   meta = with lib; {
     description = "Open CASCADE Technology, libraries for 3D modeling and numerical simulation";