cargo-clone: fix compilation on Darwin

cargo-clone currently fails to link due to a missing framework
(CoreServices). Fix it by adding CoreServices to buildInputs.
This commit is contained in:
Alex James
2024-04-27 23:34:41 -05:00
parent 91376bd301
commit 23bc499189
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
@@ -16683,7 +16683,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 {