File tree Expand file tree Collapse file tree 6 files changed +997
-19
lines changed
pkgs/development/compilers/corretto Expand file tree Collapse file tree 6 files changed +997
-19
lines changed Original file line number Diff line number Diff line change 11{
22 fetchFromGitHub ,
3- gradle_7 ,
3+ gradle_8 ,
44 jdk11 ,
55 lib ,
66 stdenv ,
1919 testers
2020 ;
2121 jdk = jdk11 ;
22- gradle = gradle_7 ;
22+ gradle = gradle_8 ;
2323 extraConfig = [
2424 # jdk11 is built with --disable-warnings-as-errors (see openjdk/11.nix)
2525 # because of several compile errors. We need to include this parameter for
2626 # Corretto, too.
2727 "--disable-warnings-as-errors"
2828 ] ;
29- version = "11.0.26.4 .1" ;
29+ version = "11.0.29.7 .1" ;
3030 src = fetchFromGitHub {
3131 owner = "corretto" ;
3232 repo = "corretto-11" ;
3333 rev = version ;
34- hash = "sha256-buJlSvmyOVeMwaP9oDcHhG+Sabr1exf0nRUt4O7MaIY =" ;
34+ hash = "sha256-/VlV8tAo1deOZ5Trc4VlLNtpjWx352qUGZmfVbj7HuU =" ;
3535 } ;
3636 } ;
3737in
38- corretto
38+ corretto . overrideAttrs ( oldAttrs : {
39+ patches = ( oldAttrs . patches or [ ] ) ++ [
40+ ./corretto11-gradle8.patch
41+ ] ;
42+
43+ } )
Original file line number Diff line number Diff line change 11{
22 fetchFromGitHub ,
33 fetchurl ,
4- gradle_7 ,
4+ gradle_8 ,
55 jdk17 ,
66 lib ,
77 stdenv ,
2020 testers
2121 ;
2222 jdk = jdk17 ;
23- gradle = gradle_7 ;
24- version = "17.0.14.7 .1" ;
23+ gradle = gradle_8 ;
24+ version = "17.0.17.10 .1" ;
2525 src = fetchFromGitHub {
2626 owner = "corretto" ;
2727 repo = "corretto-17" ;
2828 rev = version ;
29- hash = "sha256-ohQrguEJ8QvTaNjyQxKFujGhXNxCQTGkLILurzD7cy0 =" ;
29+ hash = "sha256-Z8+g5jXjcWNTYU9Xvze7scu348okMauGMhSZwX1sS9w =" ;
3030 } ;
3131 } ;
3232in
@@ -35,9 +35,11 @@ corretto.overrideAttrs (
3535 # Corretto17 has incorporated this patch already so it fails to apply.
3636 # We thus skip it here.
3737 # See https://github.com/corretto/corretto-17/pull/158
38- patches = lib . remove ( fetchurl {
39- url = "https://git.alpinelinux.org/aports/plain/community/openjdk17/FixNullPtrCast.patch?id=41e78a067953e0b13d062d632bae6c4f8028d91c" ;
40- sha256 = "sha256-LzmSew51+DyqqGyyMw2fbXeBluCiCYsS1nCjt9hX6zo=" ;
41- } ) ( prev . patches or [ ] ) ;
38+ patches =
39+ lib . remove ( fetchurl {
40+ url = "https://git.alpinelinux.org/aports/plain/community/openjdk17/FixNullPtrCast.patch?id=41e78a067953e0b13d062d632bae6c4f8028d91c" ;
41+ sha256 = "sha256-LzmSew51+DyqqGyyMw2fbXeBluCiCYsS1nCjt9hX6zo=" ;
42+ } ) ( prev . patches or [ ] )
43+ ++ [ ./corretto17-gradle8.patch ] ;
4244 }
4345)
Original file line number Diff line number Diff line change 11{
2- corretto21 ,
32 fetchFromGitHub ,
4- gradle_7 ,
3+ gradle_8 ,
54 jdk21 ,
65 lib ,
76 stdenv ,
2019 testers
2120 ;
2221 jdk = jdk21 ;
23- gradle = gradle_7 ;
24- version = "21.0.6.7 .1" ;
22+ gradle = gradle_8 ;
23+ version = "21.0.9.11 .1" ;
2524 src = fetchFromGitHub {
2625 owner = "corretto" ;
2726 repo = "corretto-21" ;
2827 rev = version ;
29- hash = "sha256-kF7Quf8bU5scfunmwfEYLkje/jEJOx7CFnBIUWCovzI =" ;
28+ hash = "sha256-d62rXVgVlOM3M18c8GioFtMi/GhmCEMLQwy/EWAJW7I =" ;
3029 } ;
3130 } ;
3231in
33- corretto
32+ corretto . overrideAttrs ( oldAttrs : {
33+ patches = ( oldAttrs . patches or [ ] ) ++ [
34+ ./corretto21-gradle8.patch
35+ ] ;
36+
37+ } )
You can’t perform that action at this time.
0 commit comments