mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
17 lines
652 B
Nix
17 lines
652 B
Nix
|
{ lib, callPackage }:
|
||
|
|
||
|
let
|
||
|
sources = (lib.importJSON ./sources.json).openj9.linux;
|
||
|
common = opts: callPackage (import ./jdk-linux-base.nix opts) {};
|
||
|
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-17 = common { sourcePerArch = sources.jdk.openjdk17; };
|
||
|
jre-17 = common { sourcePerArch = sources.jre.openjdk17; };
|
||
|
}
|