mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
openjdk22: add version test
This commit is contained in:
parent
b130d400f0
commit
b839e6963f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user