ftb: add java workaround

This commit is contained in:
lassulus 2018-02-11 16:08:28 +01:00
parent 231971c59a
commit dbd48fdbf9

View File

@ -25,6 +25,7 @@ stdenv.mkDerivation {
cat > $out/bin/ftb << EOF cat > $out/bin/ftb << EOF
#!${stdenv.shell} #!${stdenv.shell}
export _JAVA_AWT_WM_NONREPARENTING=1
export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:${makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm mesa openal ]} export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:${makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm mesa openal ]}
${if useAlsa then "${alsaOss}/bin/aoss" else "" } \ ${if useAlsa then "${alsaOss}/bin/aoss" else "" } \
${jre}/bin/java -jar $out/ftb.jar ${jre}/bin/java -jar $out/ftb.jar