Merge pull request #307397 from al3xtjames/cargo-clone-darwin
cargo-clone: fix compilation on Darwin
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user