mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
12 lines
383 B
Nix
12 lines
383 B
Nix
{ 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;
|
|
};
|
|
};
|
|
}
|