charles: Use jdk8 explicitly

This commit is contained in:
Doron Behar 2020-09-19 22:56:23 +03:00
parent 70bc8cdd3f
commit 14fb04180a

View File

@ -3,7 +3,7 @@ stdenv
, makeWrapper
, makeDesktopItem
, fetchurl
, jre
, jdk8
}:
let
@ -31,7 +31,7 @@ let
buildInputs = [ makeWrapper ];
installPhase = ''
makeWrapper ${jre}/bin/java $out/bin/charles \
makeWrapper ${jdk8.jre}/bin/java $out/bin/charles \
--add-flags "-Xmx1024M -Dcharles.config='~/.charles.config' -jar $out/share/java/charles.jar"
for fn in lib/*.jar; do