Unverified Commit 5fc1fa11 authored by Jacob Abel's avatar Jacob Abel
Browse files

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: default avatarJacob Abel <jacobabel@nullpo.dev>
parent bbd78fd4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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