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
This commit is contained in:
Atemu 2023-05-28 17:21:51 +02:00
parent e10802309b
commit bcbb670c15

View File

@ -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";