ftb: add java workaround
This commit is contained in:
parent
231971c59a
commit
dbd48fdbf9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user