mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
cargo-bisect-rustc: fix darwin build
This commit is contained in:
parent
891fee7487
commit
182513d558
@ -2,13 +2,13 @@
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
darwin,
|
||||
rustPlatform,
|
||||
pkg-config,
|
||||
openssl,
|
||||
runCommand,
|
||||
patchelf,
|
||||
zlib,
|
||||
Security,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -43,7 +43,12 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
cargoHash = "sha256-CgEs0cejquFRY3VN6CgbE23Gipg+LEuWp/jSIkITrjw=";
|
||||
|
||||
|
@ -16618,9 +16618,7 @@ with pkgs;
|
||||
};
|
||||
cargo-benchcmp = callPackage ../development/tools/rust/cargo-benchcmp { };
|
||||
cargo-binstall = callPackage ../development/tools/rust/cargo-binstall { };
|
||||
cargo-bisect-rustc = callPackage ../development/tools/rust/cargo-bisect-rustc {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-bisect-rustc = callPackage ../development/tools/rust/cargo-bisect-rustc { };
|
||||
cargo-bitbake = callPackage ../development/tools/rust/cargo-bitbake { };
|
||||
cargo-c = callPackage ../development/tools/rust/cargo-c {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
|
Loading…
Reference in New Issue
Block a user