about summary refs log tree commit diff
path: root/pkgs/applications/misc/kbt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/kbt/default.nix')
-rw-r--r--pkgs/applications/misc/kbt/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/misc/kbt/default.nix b/pkgs/applications/misc/kbt/default.nix
index c59b5e62c433..8a7e91ba3c7d 100644
--- a/pkgs/applications/misc/kbt/default.nix
+++ b/pkgs/applications/misc/kbt/default.nix
@@ -20,13 +20,13 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-6zD9WRPWEt0ubppaMRTOusy0zm3z6SGB/5/kMxcJ/Ag=";
 
-  nativeBuildInputs = lib.optionals stdenv.isLinux [
+  nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [
     pkg-config
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     darwin.apple_sdk.frameworks.AppKit
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     xorg.libX11
   ];