about summary refs log tree commit diff
path: root/pkgs/tools/system/kanata/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/kanata/default.nix')
-rw-r--r--pkgs/tools/system/kanata/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/system/kanata/default.nix b/pkgs/tools/system/kanata/default.nix
index 682158af76ca..b55d5227b0d1 100644
--- a/pkgs/tools/system/kanata/default.nix
+++ b/pkgs/tools/system/kanata/default.nix
@@ -43,7 +43,7 @@ rustPlatform.buildRustPackage rec {
     '';
   };
 
-  buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.IOKit ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.IOKit ];
 
   buildFeatures = lib.optional withCmd "cmd";
 
@@ -62,6 +62,6 @@ rustPlatform.buildRustPackage rec {
     maintainers = with maintainers; [ bmanuel linj ];
     platforms = platforms.unix;
     mainProgram = "kanata";
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
   };
 }