about summary refs log tree commit diff
path: root/pkgs/tools/security/genpass/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/security/genpass/default.nix')
-rw-r--r--pkgs/tools/security/genpass/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/security/genpass/default.nix b/pkgs/tools/security/genpass/default.nix
index 0c326c2dac66..f1e9a197680b 100644
--- a/pkgs/tools/security/genpass/default.nix
+++ b/pkgs/tools/security/genpass/default.nix
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-ls3tzZ+gtZQlObmbtwJDq6N/f5nY+Ps7RL5R/fR5Vgg=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation libiconv Security ];
 
   meta = with lib; {
     description = "Simple yet robust commandline random password generator";