jmusicbot: fix starting on java 17

This commit is contained in:
Sandro 2022-02-16 22:19:59 +01:00 committed by GitHub
parent 4c999b91a5
commit 9d08c90f3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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; {