about summary refs log tree commit diff
path: root/pkgs/tools/security/jwt-cli/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/jwt-cli/default.nix')
-rw-r--r--pkgs/tools/security/jwt-cli/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/jwt-cli/default.nix b/pkgs/tools/security/jwt-cli/default.nix
index 2dc57e8c0713..988864cbf7dc 100644
--- a/pkgs/tools/security/jwt-cli/default.nix
+++ b/pkgs/tools/security/jwt-cli/default.nix
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ installShellFiles ];
 
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
 
   postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
     installShellCompletion --cmd jwt \