lol

doc/tauri: use tauri 2.0 dependencies & new darwin SDK pattern in example (#357148)

* doc/tauri: use tauri 2.0 dependencies in example

* doc/tauri: use new darwin SDK pattern in example

Part of https://github.com/NixOS/nixpkgs/issues/354146

authored by

seth and committed by
GitHub
ed6c067f 180472d3

+5 -17
+5 -17
doc/hooks/tauri.section.md
··· 14 14 rustPlatform, 15 15 fetchNpmDeps, 16 16 cargo-tauri, 17 - darwin, 18 17 glib-networking, 19 - libsoup, 20 18 nodejs, 21 19 npmHooks, 22 20 openssl, 23 21 pkg-config, 24 - webkitgtk_4_0, 25 - wrapGAppsHook3, 22 + webkitgtk_4_1, 23 + wrapGAppsHook4, 26 24 }: 27 25 28 26 rustPlatform.buildRustPackage rec { ··· 47 45 48 46 # Make sure we can find our libraries 49 47 pkg-config 50 - wrapGAppsHook3 48 + wrapGAppsHook4 51 49 ]; 52 50 53 51 buildInputs = 54 52 [ openssl ] 55 53 ++ lib.optionals stdenv.hostPlatform.isLinux [ 56 54 glib-networking # Most Tauri apps need networking 57 - libsoup 58 - webkitgtk_4_0 59 - ] 60 - ++ lib.optionals stdenv.hostPlatform.isDarwin ( 61 - with darwin.apple_sdk.frameworks; 62 - [ 63 - AppKit 64 - CoreServices 65 - Security 66 - WebKit 67 - ] 68 - ); 55 + webkitgtk_4_1 56 + ]; 69 57 70 58 # Set our Tauri source directory 71 59 cargoRoot = "src-tauri";