about summary refs log tree commit diff
path: root/pkgs/development/libraries/partio/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/partio/default.nix')
-rw-r--r--pkgs/development/libraries/partio/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/partio/default.nix b/pkgs/development/libraries/partio/default.nix
index 05c8abfafb2a..2c117bdabb90 100644
--- a/pkgs/development/libraries/partio/default.nix
+++ b/pkgs/development/libraries/partio/default.nix
@@ -39,10 +39,10 @@ stdenv.mkDerivation rec {
     swig
     xorg.libXi
     xorg.libXmu
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.Cocoa
     darwin.apple_sdk.frameworks.GLUT
-  ] ++ lib.optionals (!stdenv.isDarwin) [
+  ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
     libglut
     libGLU
     libGL