cargo-cache: fix compilation on darwin
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
libiconv,
|
||||
Security,
|
||||
zlib,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@@ -21,8 +20,7 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoHash = "sha256-275QREIcncgBk4ah/CivSz5N2m6s/XPCfp6JGChpr38=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
libiconv
|
||||
Security
|
||||
zlib
|
||||
];
|
||||
|
||||
checkFlags = [ "offline_tests" ];
|
||||
|
||||
@@ -6822,9 +6822,7 @@ with pkgs;
|
||||
cargo-bazel = callPackage ../development/tools/rust/cargo-bazel {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-cache = callPackage ../development/tools/rust/cargo-cache {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
cargo-cache = callPackage ../development/tools/rust/cargo-cache { };
|
||||
cargo-crev = callPackage ../development/tools/rust/cargo-crev {
|
||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration CoreFoundation;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user