Merge pull request #146212 from flurie/fix-bpb-darwin

bpb: fix build on darwin

authored by Jörg Thalheim and committed by GitHub cd65cb38 a40917f3

+4 -1
+3
pkgs/tools/security/bpb/default.nix
··· 2 2 , lib 3 3 , rustPlatform 4 4 , fetchFromGitHub 5 + , Security 5 6 }: 6 7 7 8 rustPlatform.buildRustPackage rec { ··· 19 20 20 21 # a nightly compiler is required unless we use this cheat code. 21 22 RUSTC_BOOTSTRAP = 1; 23 + 24 + buildInputs = lib.optional stdenv.isDarwin Security; 22 25 23 26 meta = with lib; { 24 27 description = "Tool to automatically sign git commits, replacing gpg for that purpose";
+1 -1
pkgs/top-level/all-packages.nix
··· 2228 2228 bozohttpd = callPackage ../servers/http/bozohttpd { }; 2229 2229 bozohttpd-minimal = callPackage ../servers/http/bozohttpd { minimal = true; }; 2230 2230 2231 - bpb = callPackage ../tools/security/bpb { }; 2231 + bpb = callPackage ../tools/security/bpb { inherit (darwin.apple_sdk.frameworks) Security; }; 2232 2232 2233 2233 bpytop = callPackage ../tools/system/bpytop { }; 2234 2234