Skip to content

Commit

Permalink
doc/tauri: use new darwin SDK pattern in example
Browse files Browse the repository at this point in the history
Part of NixOS#354146
  • Loading branch information
getchoo committed Nov 19, 2024
1 parent ad104ad commit 81d4b87
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions doc/hooks/tauri.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ In Nixpkgs, `cargo-tauri.hook` overrides the default build and install phases.
rustPlatform,
fetchNpmDeps,
cargo-tauri,
darwin,
glib-networking,
nodejs,
npmHooks,
Expand Down Expand Up @@ -54,16 +53,7 @@ rustPlatform.buildRustPackage rec {
++ lib.optionals stdenv.hostPlatform.isLinux [
glib-networking # Most Tauri apps need networking
webkitgtk_4_1
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit
CoreServices
Security
WebKit
]
);
];
# Set our Tauri source directory
cargoRoot = "src-tauri";
Expand Down

0 comments on commit 81d4b87

Please sign in to comment.