nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 43 lines 851 B view raw
1{ 2 fetchFromGitHub, 3 gradle_8, 4 jdk11, 5 lib, 6 stdenv, 7 rsync, 8 runCommand, 9 testers, 10}: 11 12let 13 corretto = import ./mk-corretto.nix rec { 14 inherit 15 lib 16 stdenv 17 rsync 18 runCommand 19 testers 20 ; 21 jdk = jdk11; 22 gradle = gradle_8; 23 extraConfig = [ 24 # jdk11 is built with --disable-warnings-as-errors (see openjdk/11.nix) 25 # because of several compile errors. We need to include this parameter for 26 # Corretto, too. 27 "--disable-warnings-as-errors" 28 ]; 29 version = "11.0.29.7.1"; 30 src = fetchFromGitHub { 31 owner = "corretto"; 32 repo = "corretto-11"; 33 rev = version; 34 hash = "sha256-/VlV8tAo1deOZ5Trc4VlLNtpjWx352qUGZmfVbj7HuU="; 35 }; 36 }; 37in 38corretto.overrideAttrs (oldAttrs: { 39 patches = (oldAttrs.patches or [ ]) ++ [ 40 ./corretto11-gradle8.patch 41 ]; 42 43})