mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
3292b1e79b
openjdk11, openjfx11, corretto11: update
32 lines
696 B
Nix
32 lines
696 B
Nix
{ fetchFromGitHub
|
|
, gradle_7
|
|
, jdk11
|
|
, lib
|
|
, stdenv
|
|
, rsync
|
|
, runCommand
|
|
, testers
|
|
}:
|
|
|
|
let
|
|
corretto = import ./mk-corretto.nix rec {
|
|
inherit lib stdenv rsync runCommand testers;
|
|
jdk = jdk11;
|
|
gradle = gradle_7;
|
|
extraConfig = [
|
|
# jdk11 is built with --disable-warnings-as-errors (see openjdk/11.nix)
|
|
# because of several compile errors. We need to include this parameter for
|
|
# Corretto, too.
|
|
"--disable-warnings-as-errors"
|
|
];
|
|
version = "11.0.23.9.1";
|
|
src = fetchFromGitHub {
|
|
owner = "corretto";
|
|
repo = "corretto-11";
|
|
rev = version;
|
|
sha256 = "sha256-qSx0kgXTgvsvBaEqgy7Jrp/c1Imoi5/IOqEWoLenJYI=";
|
|
};
|
|
};
|
|
in
|
|
corretto
|