From e0c6f91e6d855b49df94892ff4c831ea9bd67884 Mon Sep 17 00:00:00 2001 From: flurie Date: Mon, 15 Nov 2021 23:42:10 -0500 Subject: bpb: fix build on darwin --- pkgs/tools/security/bpb/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/tools/security/bpb') 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"; -- cgit 1.4.1