about summary refs log tree commit diff
path: root/pkgs/development/libraries/freenect/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/freenect/default.nix')
-rw-r--r--pkgs/development/libraries/freenect/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/freenect/default.nix b/pkgs/development/libraries/freenect/default.nix
index 4be38fbef062..f58785c1e1bd 100644
--- a/pkgs/development/libraries/freenect/default.nix
+++ b/pkgs/development/libraries/freenect/default.nix
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
   };
 
   buildInputs = [ libusb1 libglut libGLU libGL libXi libXmu ]
-    ++ lib.optionals stdenv.isDarwin [ GLUT Cocoa ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ GLUT Cocoa ];
 
   nativeBuildInputs = [ cmake pkg-config ];