mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
shattered-pixel-dungeon: fix crash on startup
This also affects the shattered-pixel-dungeon variants/mods. Fixes #273261
This commit is contained in:
parent
3c1873efa9
commit
086f558b6d
@ -13,6 +13,7 @@
|
|||||||
, gradle
|
, gradle
|
||||||
, perl
|
, perl
|
||||||
, jre
|
, jre
|
||||||
|
, libGL
|
||||||
, libpulseaudio
|
, libpulseaudio
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
@ -104,7 +105,7 @@ in stdenv.mkDerivation (cleanAttrs // {
|
|||||||
install -Dm644 desktop/build/libs/desktop-*.jar $out/share/${pname}.jar
|
install -Dm644 desktop/build/libs/desktop-*.jar $out/share/${pname}.jar
|
||||||
mkdir $out/bin
|
mkdir $out/bin
|
||||||
makeWrapper ${jre}/bin/java $out/bin/${pname} \
|
makeWrapper ${jre}/bin/java $out/bin/${pname} \
|
||||||
--prefix LD_LIBRARY_PATH : ${libpulseaudio}/lib \
|
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libGL libpulseaudio ]} \
|
||||||
--add-flags "-jar $out/share/${pname}.jar"
|
--add-flags "-jar $out/share/${pname}.jar"
|
||||||
|
|
||||||
for s in 16 32 48 64 128 256; do
|
for s in 16 32 48 64 128 256; do
|
||||||
|
Loading…
Reference in New Issue
Block a user