forked from mirrors/nixpkgs
jmusicbot: fix starting on java 17
This commit is contained in:
parent
4c999b91a5
commit
9d08c90f3c
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
cp $src $out/lib/JMusicBot
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/JMusicBot \
|
||||
--add-flags "-Xmx1G -Dnogui=true -jar $out/lib/JMusicBot"
|
||||
--add-flags "-Xmx1G -Dnogui=true -Djava.util.concurrent.ForkJoinPool.common.parallelism=1 -jar $out/lib/JMusicBot"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue