Unverified Commit 68526a61 authored by Ryan Cao's avatar Ryan Cao
Browse files

cargo-cache: fix compilation on darwin

parent c0b0a559
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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;
  };