Unverified Commit 23bc4991 authored by Alex James's avatar Alex James
Browse files

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.
parent 91376bd3
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
@@ -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 {