Siyuan: add xdg-utils to PATH

Added xdg-utils to the PATH as the application expects it to be present
and emits the following error when `xdg-settings` is not present in the
PATH.

```
LaunchProcess: failed to execvp:
xdg-settings
```

Signed-off-by: Jacob Abel <jacobabel@nullpo.dev>
This commit is contained in:
Jacob Abel
2025-11-14 12:14:17 -05:00
parent bbd78fd45c
commit 5fc1fa110f
+2
View File
@@ -12,6 +12,7 @@
makeDesktopItem,
copyDesktopItems,
nix-update-script,
xdg-utils,
}:
let
@@ -138,6 +139,7 @@ stdenv.mkDerivation (finalAttrs: {
--add-flags $out/share/siyuan/resources/app \
--set ELECTRON_FORCE_IS_PACKAGED 1 \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
--suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \
--inherit-argv0
install -Dm644 src/assets/icon.svg $out/share/icons/hicolor/scalable/apps/siyuan.svg