summary refs log tree commit diff
path: root/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-03-19 16:36:28 +0100
committerRobert Hensing <robert@roberthensing.nl>2021-03-19 16:37:16 +0100
commit641aa9e27db6ac58c5693324d3f2693c8b3f83ce (patch)
treee35c4293a08f6663c3127965f37d8cc7890a6f96 /pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
parent7ea4ee71c993a615446b7e7a289337d819c93d77 (diff)
downloadnixpkgs-641aa9e27db6ac58c5693324d3f2693c8b3f83ce.tar
nixpkgs-641aa9e27db6ac58c5693324d3f2693c8b3f83ce.tar.gz
nixpkgs-641aa9e27db6ac58c5693324d3f2693c8b3f83ce.tar.bz2
nixpkgs-641aa9e27db6ac58c5693324d3f2693c8b3f83ce.tar.lz
nixpkgs-641aa9e27db6ac58c5693324d3f2693c8b3f83ce.tar.xz
nixpkgs-641aa9e27db6ac58c5693324d3f2693c8b3f83ce.tar.zst
nixpkgs-641aa9e27db6ac58c5693324d3f2693c8b3f83ce.zip
adoptopenjdk-{13,14}: mark insecure
Diffstat (limited to 'pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix')
-rw-r--r--pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix b/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
index ed8935b0042..95e72facaee 100644
--- a/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
+++ b/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
@@ -1,4 +1,4 @@
-sourcePerArch:
+{ sourcePerArch, knownVulnerabilities ? [] }:
 
 { stdenv
 , lib
@@ -107,6 +107,7 @@ let result = stdenv.mkDerivation rec {
     description = "AdoptOpenJDK, prebuilt OpenJDK binary";
     platforms = lib.mapAttrsToList (arch: _: arch + "-linux") sourcePerArch; # some inherit jre.meta.platforms
     maintainers = with lib.maintainers; [ taku0 ];
+    inherit knownVulnerabilities;
   };
 
 }; in result