about summary refs log tree commit diff
path: root/pkgs/development/compilers/semeru-bin/jdk-darwin.nix
diff options
context:
space:
mode:
authorInfinidoge <infinidoge@inx.moe>2024-02-04 13:55:51 -0500
committerInfinidoge <infinidoge@inx.moe>2024-05-24 16:39:20 -0400
commitfef3145c8dd75ef4a49c74cdc16603b9fb4ab200 (patch)
tree378afb69ca2539d5a5caf82a687275a270ec0053 /pkgs/development/compilers/semeru-bin/jdk-darwin.nix
parent70b1aa3c71fae220a90e9fd6475eaa4cbf9b1f88 (diff)
semeru-bin: mark EOL releases as vulnerable
Diffstat (limited to 'pkgs/development/compilers/semeru-bin/jdk-darwin.nix')
-rw-r--r--pkgs/development/compilers/semeru-bin/jdk-darwin.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/compilers/semeru-bin/jdk-darwin.nix b/pkgs/development/compilers/semeru-bin/jdk-darwin.nix
index 50cd9a9d4cd48..2e9bde029f2d9 100644
--- a/pkgs/development/compilers/semeru-bin/jdk-darwin.nix
+++ b/pkgs/development/compilers/semeru-bin/jdk-darwin.nix
@@ -3,14 +3,16 @@
 let
   sources = (lib.importJSON ./sources.json).openj9.mac;
   common = opts: callPackage (import ./jdk-darwin-base.nix opts) {};
+
+  EOL = [ "This JDK/JRE version has reached End of Life." ];
 in
 {
   jdk-8 = common { sourcePerArch = sources.jdk.openjdk8; };
   jre-8 = common { sourcePerArch = sources.jre.openjdk8; };
   jdk-11 = common { sourcePerArch = sources.jdk.openjdk11; };
   jre-11 = common { sourcePerArch = sources.jre.openjdk11; };
-  jdk-16 = common { sourcePerArch = sources.jdk.openjdk16; };
-  jre-16 = common { sourcePerArch = sources.jre.openjdk16; };
+  jdk-16 = common { sourcePerArch = sources.jdk.openjdk16; knownVulnerabilities = EOL; };
+  jre-16 = common { sourcePerArch = sources.jre.openjdk16; knownVulnerabilities = EOL; };
   jdk-17 = common { sourcePerArch = sources.jdk.openjdk17; };
   jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
   jdk-21 = common { sourcePerArch = sources.jdk.openjdk21; };