charles: Use jdk8 explicitly
This commit is contained in:
parent
70bc8cdd3f
commit
14fb04180a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user