Merge pull request #139971 from asbachb/key-store-explorer/adjust-jdk
keystore-explorer: use latest available lts java version to run
This commit is contained in:
commit
5e6aaaf238
2 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -6516,7 +6516,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 a new issue