cargo-cache: fix compilation on darwin

This commit is contained in:
Ryan Cao
2024-12-28 12:31:36 +08:00
parent c0b0a559cf
commit 68526a6140
2 changed files with 3 additions and 7 deletions
@@ -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" ];
+1 -3
View File
@@ -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;
};