Skip to content

Commit

Permalink
cargo-cache: fix compilation on darwin (#368717)
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderio authored Dec 28, 2024
2 parents 1b4a15a + 68526a6 commit c384560
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions pkgs/development/tools/rust/cargo-cache/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
stdenv,
fetchFromGitHub,
rustPlatform,
libiconv,
Security,
zlib,
}:

rustPlatform.buildRustPackage rec {
Expand All @@ -21,8 +20,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-275QREIcncgBk4ah/CivSz5N2m6s/XPCfp6JGChpr38=";

buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
Security
zlib
];

checkFlags = [ "offline_tests" ];
Expand Down
4 changes: 1 addition & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit c384560

Please sign in to comment.