Unverified Commit 9696cb8e authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #307397 from al3xtjames/cargo-clone-darwin

cargo-clone: fix compilation on Darwin
parents 5544435a 23bc4991
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
, pkg-config
, openssl
, stdenv
, CoreServices
, Security
, SystemConfiguration
}:
@@ -24,6 +25,7 @@ rustPlatform.buildRustPackage rec {
  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
    CoreServices
    Security
    SystemConfiguration
  ];
+1 −1
Original line number Diff line number Diff line
@@ -16672,7 +16672,7 @@ with pkgs;
    inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
  };
  cargo-clone = callPackage ../development/tools/rust/cargo-clone {
    inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
    inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
  };
  cargo-codspeed = callPackage ../development/tools/rust/cargo-codspeed {
    rustPlatform = makeRustPlatform {