about summary refs log tree commit diff
path: root/pkgs/misc/drivers/spacenavd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/misc/drivers/spacenavd/default.nix')
-rw-r--r--pkgs/misc/drivers/spacenavd/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/drivers/spacenavd/default.nix b/pkgs/misc/drivers/spacenavd/default.nix
index eb2fc165cccb..27ea69943cc1 100644
--- a/pkgs/misc/drivers/spacenavd/default.nix
+++ b/pkgs/misc/drivers/spacenavd/default.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
   ];
 
   buildInputs = [ libX11 ]
-    ++ lib.optional stdenv.isDarwin IOKit;
+    ++ lib.optional stdenv.hostPlatform.isDarwin IOKit;
 
   configureFlags = [ "--disable-debug" ];