doc/tauri: Don't use alias in example

Fixes ccec93c1c7.
This commit is contained in:
Bobby Rong 2024-10-12 20:47:02 +08:00
parent 003961e4bb
commit 87063ab9d8
No known key found for this signature in database

View file

@ -21,7 +21,7 @@ In Nixpkgs, `cargo-tauri.hook` overrides the default build and install phases.
npmHooks, npmHooks,
openssl, openssl,
pkg-config, pkg-config,
webkitgtk, webkitgtk_4_0,
wrapGAppsHook3, wrapGAppsHook3,
}: }:
@ -55,7 +55,7 @@ rustPlatform.buildRustPackage rec {
++ lib.optionals stdenv.isLinux [ ++ lib.optionals stdenv.isLinux [
glib-networking # Most Tauri apps need networking glib-networking # Most Tauri apps need networking
libsoup libsoup
webkitgtk webkitgtk_4_0
] ]
++ lib.optionals stdenv.isDarwin ( ++ lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks; with darwin.apple_sdk.frameworks;