diff options
-rw-r--r-- | pkgs/games/gog/stardew-valley.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/gog/stardew-valley.nix b/pkgs/games/gog/stardew-valley.nix index ee39fbd9..4dcbcbae 100644 --- a/pkgs/games/gog/stardew-valley.nix +++ b/pkgs/games/gog/stardew-valley.nix @@ -1,4 +1,4 @@ -{ lib, buildGame, fetchGog, unzip, makeWrapper, mono50, SDL2, openal }: +{ lib, buildGame, fetchGog, unzip, makeWrapper, mono50, SDL2, libGL, openal }: buildGame rec { name = "stardew-valley-${version}"; @@ -37,6 +37,7 @@ buildGame rec { makeWrapper ${lib.escapeShellArg mono50}/bin/mono \ "$out/bin/stardew-valley" \ --add-flags "$out/libexec/stardew-valley/StardewValley.exe" \ + --prefix LD_LIBRARY_PATH : ${lib.escapeShellArg "${libGL}/lib"} \ --run "cd '$out/libexec/stardew-valley'" ''; |