From bedc1f26c3513dc04215af272f16facc353d8176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kalle=20Ahlstr=C3=B6m?= Date: Thu, 15 May 2025 23:21:14 +0200 Subject: [PATCH] doc/tauri: move wrapGAppsHook4 to only be included in linux builds --- doc/hooks/tauri.section.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/doc/hooks/tauri.section.md b/doc/hooks/tauri.section.md index 8382d8c27316..2908f5ff24f2 100644 --- a/doc/hooks/tauri.section.md +++ b/doc/hooks/tauri.section.md @@ -35,18 +35,21 @@ rustPlatform.buildRustPackage (finalAttrs: { hash = "..."; }; - nativeBuildInputs = [ - # Pull in our main hook - cargo-tauri.hook + nativeBuildInputs = + [ + # Pull in our main hook + cargo-tauri.hook - # Setup npm - nodejs - npmHooks.npmConfigHook + # Setup npm + nodejs + npmHooks.npmConfigHook - # Make sure we can find our libraries - pkg-config - wrapGAppsHook4 - ]; + # Make sure we can find our libraries + pkg-config + ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ + wrapGAppsHook4 + ]; buildInputs = [ openssl ]