doc/tauri: move wrapGAppsHook4 to only be included in linux builds

This commit is contained in:
Kalle Ahlström 2025-05-15 23:21:14 +02:00
parent 3aedf37e03
commit bedc1f26c3

View file

@ -35,7 +35,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
hash = "..."; hash = "...";
}; };
nativeBuildInputs = [ nativeBuildInputs =
[
# Pull in our main hook # Pull in our main hook
cargo-tauri.hook cargo-tauri.hook
@ -45,6 +46,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
# Make sure we can find our libraries # Make sure we can find our libraries
pkg-config pkg-config
]
++ lib.optionals stdenv.hostPlatform.isLinux [
wrapGAppsHook4 wrapGAppsHook4
]; ];