Unverified Commit d344cafc authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

openjdk22: add version test (#340117)

parents 198e0a5d b839e696
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@
, gtk3
, glib
, writeShellScript
, versionCheckHook
}:

let
@@ -254,6 +255,13 @@ stdenv.mkDerivation (finalAttrs: {
  pos = __curPos;
  meta = import ./meta.nix lib featureVersion;

  nativeInstallCheckInputs = [
    versionCheckHook
  ];
  versionCheckProgram = "${placeholder "out"}/bin/java";

  doInstallCheck = true;

  passthru = {
    updateScript =
      let