mediathekview: enable JRE preview option

This commit is contained in:
André-Patrick Bubel 2021-01-26 08:57:25 +01:00
parent fe1e5e3698
commit cf6ce59701

View File

@ -16,13 +16,13 @@ stdenv.mkDerivation rec {
install -m644 MediathekView.jar $out/lib
makeWrapper ${jre}/bin/java $out/bin/mediathek \
--add-flags "-Xmx1G -jar $out/lib/MediathekView.jar"
--add-flags "-Xmx1G --enable-preview -jar $out/lib/MediathekView.jar"
makeWrapper ${jre}/bin/java $out/bin/MediathekView \
--add-flags "-Xmx1G -jar $out/lib/MediathekView.jar"
--add-flags "-Xmx1G --enable-preview -jar $out/lib/MediathekView.jar"
makeWrapper ${jre}/bin/java $out/bin/MediathekView_ipv4 \
--add-flags "-Xmx1G -Djava.net.preferIPv4Stack=true -jar $out/lib/MediathekView.jar"
--add-flags "-Xmx1G --enable-preview -Djava.net.preferIPv4Stack=true -jar $out/lib/MediathekView.jar"
'';
meta = with lib; {