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

Changed files
+13 -10
doc
+13 -10
doc/hooks/tauri.section.md
···
hash = "...";
};
-
nativeBuildInputs = [
-
# Pull in our main hook
-
cargo-tauri.hook
-
# Setup npm
-
nodejs
-
npmHooks.npmConfigHook
-
# Make sure we can find our libraries
-
pkg-config
-
wrapGAppsHook4
-
];
buildInputs =
[ openssl ]
···
hash = "...";
};
+
nativeBuildInputs =
+
[
+
# Pull in our main hook
+
cargo-tauri.hook
+
# Setup npm
+
nodejs
+
npmHooks.npmConfigHook
+
# Make sure we can find our libraries
+
pkg-config
+
]
+
++ lib.optionals stdenv.hostPlatform.isLinux [
+
wrapGAppsHook4
+
];
buildInputs =
[ openssl ]