mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
doc/tauri: move wrapGAppsHook4 to only be included in linux builds
This commit is contained in:
parent
3aedf37e03
commit
bedc1f26c3
1 changed files with 13 additions and 10 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue