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

cargo-clone: fix compilation on Darwin
This commit is contained in:
Aleksana
2024-04-29 21:43:51 +08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
@@ -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
View File
@@ -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 {