Merge pull request #146212 from flurie/fix-bpb-darwin
bpb: fix build on darwin
This commit is contained in:
commit
cd65cb38bc
@ -2,6 +2,7 @@
|
|||||||
, lib
|
, lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -20,6 +21,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
# a nightly compiler is required unless we use this cheat code.
|
# a nightly compiler is required unless we use this cheat code.
|
||||||
RUSTC_BOOTSTRAP = 1;
|
RUSTC_BOOTSTRAP = 1;
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool to automatically sign git commits, replacing gpg for that purpose";
|
description = "Tool to automatically sign git commits, replacing gpg for that purpose";
|
||||||
homepage = "https://github.com/withoutboats/bpb";
|
homepage = "https://github.com/withoutboats/bpb";
|
||||||
|
@ -2228,7 +2228,7 @@ with pkgs;
|
|||||||
bozohttpd = callPackage ../servers/http/bozohttpd { };
|
bozohttpd = callPackage ../servers/http/bozohttpd { };
|
||||||
bozohttpd-minimal = callPackage ../servers/http/bozohttpd { minimal = true; };
|
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 { };
|
bpytop = callPackage ../tools/system/bpytop { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user