Commit bcbb670c authored by Atemu's avatar Atemu
Browse files

BeatSaberModManager: wrap with xdg-utils

Using the OneClick functionality requires the app to have xdg-utils in its PATH.

Fixes https://github.com/NixOS/nixpkgs/issues/234039
parent e1080230
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -13,6 +13,8 @@
  libICE,
  libSM,
  fontconfig,

  xdg-utils,
}:

buildDotnetModule rec {
@@ -47,6 +49,11 @@ buildDotnetModule rec {
    fontconfig
  ];

  # Required for OneClick
  makeWrapperArgs = [
    ''--prefix PATH : "${lib.makeBinPath [ xdg-utils ]}"''
  ];

  meta = with lib; {
    description = "Yet another mod installer for Beat Saber, heavily inspired by ModAssistant";
    homepage = "https://github.com/affederaffe/BeatSaberModManager";