diff options
author | flurie <flurie@gmail.com> | 2021-11-15 23:42:10 -0500 |
---|---|---|
committer | flurie <flurie@gmail.com> | 2021-11-15 23:42:10 -0500 |
commit | e0c6f91e6d855b49df94892ff4c831ea9bd67884 (patch) | |
tree | 3b3e1e5d504732338100cb8832d51f4db0a3a540 /pkgs/tools/security/bpb | |
parent | c8920ed7ceda97a7613f020af10ed5477bf5b942 (diff) |
bpb: fix build on darwin
Diffstat (limited to 'pkgs/tools/security/bpb')
-rw-r--r-- | pkgs/tools/security/bpb/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/security/bpb/default.nix b/pkgs/tools/security/bpb/default.nix index 121c5674c08c5..4d601aac15530 100644 --- a/pkgs/tools/security/bpb/default.nix +++ b/pkgs/tools/security/bpb/default.nix @@ -2,6 +2,7 @@ , lib , rustPlatform , fetchFromGitHub +, Security }: rustPlatform.buildRustPackage rec { @@ -20,6 +21,8 @@ rustPlatform.buildRustPackage rec { # a nightly compiler is required unless we use this cheat code. RUSTC_BOOTSTRAP = 1; + buildInputs = lib.optional stdenv.isDarwin Security; + meta = with lib; { description = "Tool to automatically sign git commits, replacing gpg for that purpose"; homepage = "https://github.com/withoutboats/bpb"; |