bluej: fix with non-binary wrapper for wrapGAppsHook

The use of --add-flags in this derivation assumed quotes to be expanded, which the binary
         wrapper (which wrapGAppsHook uses since #164163) will not do.
This commit is contained in:
Dominik Xaver Hörl 2022-05-10 14:27:58 +02:00
parent 9709c5f4a4
commit 220428039c

View file

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
preFixup = '' preFixup = ''
makeWrapper ${jdk}/bin/java $out/bin/bluej \ makeWrapper ${jdk}/bin/java $out/bin/bluej \
"''${gappsWrapperArgs[@]}" \ "''${gappsWrapperArgs[@]}" \
--add-flags "-Djavafx.embed.singleThread=true -Dawt.useSystemAAFontSettings=on -Xmx512M -cp \"$out/share/bluej/bluej.jar\" bluej.Boot" --add-flags "-Djavafx.embed.singleThread=true -Dawt.useSystemAAFontSettings=on -Xmx512M -cp $out/share/bluej/bluej.jar bluej.Boot"
''; '';
meta = with lib; { meta = with lib; {