mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
11 lines
383 B
Nix
11 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;
|
|
};
|
|
};
|
|
}
|