keystore-explorer: use latest available lts java version to run keystore-explorer
This commit is contained in:
parent
31ffc50c57
commit
b5cc607558
@ -1,4 +1,4 @@
|
||||
{ fetchzip, lib, stdenv, jdk8, runtimeShell }:
|
||||
{ fetchzip, lib, stdenv, jdk, runtimeShell }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.4.4";
|
||||
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
||||
# Python on Darwin; just write our own start script to avoid unnecessary dependencies
|
||||
cat > $out/bin/keystore-explorer <<EOF
|
||||
#!${runtimeShell}
|
||||
export JAVA_HOME=${jdk8.home}
|
||||
exec ${jdk8}/bin/java -jar $out/share/keystore-explorer/kse.jar "\$@"
|
||||
export JAVA_HOME=${jdk.home}
|
||||
exec ${jdk}/bin/java -jar $out/share/keystore-explorer/kse.jar "\$@"
|
||||
EOF
|
||||
chmod +x $out/bin/keystore-explorer
|
||||
|
||||
|
@ -6485,7 +6485,9 @@ with pkgs;
|
||||
|
||||
keyfuzz = callPackage ../tools/inputmethods/keyfuzz { };
|
||||
|
||||
keystore-explorer = callPackage ../applications/misc/keystore-explorer { };
|
||||
keystore-explorer = callPackage ../applications/misc/keystore-explorer {
|
||||
jdk = jdk11;
|
||||
};
|
||||
|
||||
kfctl = callPackage ../applications/networking/cluster/kfctl { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user