mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
sentry-cli: fix build on darwin
This commit is contained in:
parent
4ac3c725bc
commit
c6c1ca27d6
@ -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=";
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user