about summary refs log tree commit diff
path: root/pkgs/development/libraries/vrpn/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/vrpn/default.nix')
-rw-r--r--pkgs/development/libraries/vrpn/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/vrpn/default.nix b/pkgs/development/libraries/vrpn/default.nix
index e233269fafd1..3272a4bbd147 100644
--- a/pkgs/development/libraries/vrpn/default.nix
+++ b/pkgs/development/libraries/vrpn/default.nix
@@ -24,12 +24,12 @@ stdenv.mkDerivation rec {
     unzip
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.CoreFoundation
     darwin.apple_sdk.frameworks.GLUT
     darwin.apple_sdk.frameworks.IOKit
     darwin.apple_sdk.frameworks.OpenGL
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     libGLU
     libGL
   ];