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