sentry-cli: fix build on darwin

This commit is contained in:
Weijia Wang 2024-01-03 15:37:50 +01:00
parent 4ac3c725bc
commit c6c1ca27d6
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@
, openssl
, pkg-config
, stdenv
, CoreServices
, Security
, SystemConfiguration
}:
@ -22,7 +23,7 @@ rustPlatform.buildRustPackage rec {
# Needed to get openssl-sys to use pkgconfig.
OPENSSL_NO_VENDOR = 1;
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ CoreServices Security SystemConfiguration ];
nativeBuildInputs = [ pkg-config ];
cargoHash = "sha256-exzQOJjpRtRDyL5+cbiBfhXrJX99dPdOA2wAhrUNZvs=";

View File

@ -14534,7 +14534,7 @@ with pkgs;
};
sentry-cli = callPackage ../development/tools/sentry-cli {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
};
sentry-native = callPackage ../development/libraries/sentry-native { };