Merge pull request #279771 from thedavidmeister/2024-01-09-cargo-tauri-mac

cargo-tauri: Add darwin SystemConfiguration
This commit is contained in:
Yt 2024-01-10 23:05:17 +01:00 committed by GitHub
commit beeb299ce1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@
}:
let
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
in
rustPlatform.buildRustPackage rec {
pname = "tauri";
@ -33,7 +33,7 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-CHX4fesnqxoeplqXGFrn4RSfGdrkhKNANvXIwMkWXDs=";
buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ glibc libsoup cairo gtk3 webkitgtk ]
++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
++ lib.optionals stdenv.isDarwin [ CoreServices Security SystemConfiguration ];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {