bpb: fix build on darwin

main
flurie 3 years ago
parent c8920ed7ce
commit e0c6f91e6d
No known key found for this signature in database
GPG Key ID: D963E8522F408029
  1. 3
      pkgs/tools/security/bpb/default.nix
  2. 2
      pkgs/top-level/all-packages.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";

@ -2228,7 +2228,7 @@ with pkgs;
bozohttpd = callPackage ../servers/http/bozohttpd { };
bozohttpd-minimal = callPackage ../servers/http/bozohttpd { minimal = true; };
bpb = callPackage ../tools/security/bpb { };
bpb = callPackage ../tools/security/bpb { inherit (darwin.apple_sdk.frameworks) Security; };
bpytop = callPackage ../tools/system/bpytop { };

Loading…
Cancel
Save