mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
cargo-download: add Security build input on darwin
This commit is contained in:
parent
0d3b2b6990
commit
9f3707d83a
@ -1,5 +1,11 @@
|
||||
{ lib, buildPlatform, buildRustCrate, fetchgit }:
|
||||
{ stdenv, lib, fetchgit, darwin, buildPlatform
|
||||
, buildRustCrate, defaultCrateOverrides }:
|
||||
|
||||
((import ./Cargo.nix { inherit lib buildPlatform buildRustCrate fetchgit; }).cargo_download {}).override {
|
||||
|
||||
crateOverrides = defaultCrateOverrides // {
|
||||
cargo-download = attrs: {
|
||||
buildInputs = lib.optional stdenv.isDarwin
|
||||
darwin.apple_sdk.frameworks.Security;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user