about summary refs log tree commit diff
path: root/pkgs/tools/system/zenith/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/zenith/default.nix')
-rw-r--r--pkgs/tools/system/zenith/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/zenith/default.nix b/pkgs/tools/system/zenith/default.nix
index 4af272ccb49d..ffb530600bd3 100644
--- a/pkgs/tools/system/zenith/default.nix
+++ b/pkgs/tools/system/zenith/default.nix
@@ -7,7 +7,7 @@
 , makeWrapper
 }:
 
-assert nvidiaSupport -> stdenv.isLinux;
+assert nvidiaSupport -> stdenv.hostPlatform.isLinux;
 
 rustPlatform.buildRustPackage rec {
   pname = "zenith";
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
   };
 
   nativeBuildInputs = [ rustPlatform.bindgenHook ] ++ lib.optional nvidiaSupport makeWrapper;
-  buildInputs = lib.optionals stdenv.isDarwin [ IOKit ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ IOKit ];
 
   buildFeatures = lib.optional nvidiaSupport "nvidia";