diff options
author | lassulus <lassulus@lassul.us> | 2018-02-11 16:08:28 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2018-02-11 16:08:28 +0100 |
commit | dbd48fdbf91672dc96992ee0b55ad1da226d4199 (patch) | |
tree | 47a2f2eab8448ccbdf5a8ca48871bef2bc03f866 /krebs/5pkgs | |
parent | 231971c59a8604ed82d976f319056d0cba707e9a (diff) |
ftb: add java workaround
Diffstat (limited to 'krebs/5pkgs')
-rw-r--r-- | krebs/5pkgs/simple/ftb/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/5pkgs/simple/ftb/default.nix b/krebs/5pkgs/simple/ftb/default.nix index 841e2ea00..c2e83c9f4 100644 --- a/krebs/5pkgs/simple/ftb/default.nix +++ b/krebs/5pkgs/simple/ftb/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { cat > $out/bin/ftb << EOF #!${stdenv.shell} + export _JAVA_AWT_WM_NONREPARENTING=1 export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:${makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm mesa openal ]} ${if useAlsa then "${alsaOss}/bin/aoss" else "" } \ ${jre}/bin/java -jar $out/ftb.jar |