8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
14 lines
521 B
Nix
14 lines
521 B
Nix
{ stdenv, lib, fetchgit, darwin, buildPlatform
|
|
, buildRustCrate, buildRustCrateHelpers, defaultCrateOverrides }:
|
|
|
|
((import ./Cargo.nix {
|
|
inherit lib buildPlatform buildRustCrate buildRustCrateHelpers fetchgit;
|
|
cratesIO = import ./crates-io.nix { inherit lib buildRustCrate buildRustCrateHelpers; };
|
|
}).cargo_download {}).override {
|
|
crateOverrides = defaultCrateOverrides // {
|
|
cargo-download = attrs: {
|
|
buildInputs = lib.optional stdenv.isDarwin
|
|
darwin.apple_sdk.frameworks.Security;
|
|
};
|
|
};
|
|
}
|