diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-08-16 23:22:56 +1000 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2020-08-19 11:17:49 +1000 |
commit | 7c93f85b7abe3f99b83c23b44d5664ac55ea5362 (patch) | |
tree | 7b8a930fd6d1abcf0eec843f2cb98b1abe3a37f2 /pkgs/tools/security/genpass | |
parent | 4cb53831410ab0212b99e4324488df67615b20dc (diff) |
genpass: fix darwin build
Diffstat (limited to 'pkgs/tools/security/genpass')
-rw-r--r-- | pkgs/tools/security/genpass/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/security/genpass/default.nix b/pkgs/tools/security/genpass/default.nix index 54a084ff596b8..39a84112d63d2 100644 --- a/pkgs/tools/security/genpass/default.nix +++ b/pkgs/tools/security/genpass/default.nix @@ -1,6 +1,9 @@ { stdenv , fetchFromGitHub , rustPlatform +, CoreFoundation +, libiconv +, Security }: rustPlatform.buildRustPackage rec { pname = "genpass"; @@ -15,6 +18,8 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "1p6l64s9smhwka8bh3pamqimamxziad859i62nrmxzqc49nq5s7m"; + buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ]; + meta = with stdenv.lib; { description = "A simple yet robust commandline random password generator."; homepage = "https://github.com/cyplo/genpass"; |