nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 45 lines 1.0 kB view raw
1{ 2 fetchFromGitHub, 3 fetchurl, 4 gradle_8, 5 jdk17, 6 lib, 7 stdenv, 8 rsync, 9 runCommand, 10 testers, 11}: 12 13let 14 corretto = import ./mk-corretto.nix rec { 15 inherit 16 lib 17 stdenv 18 rsync 19 runCommand 20 testers 21 ; 22 jdk = jdk17; 23 gradle = gradle_8; 24 version = "17.0.17.10.1"; 25 src = fetchFromGitHub { 26 owner = "corretto"; 27 repo = "corretto-17"; 28 rev = version; 29 hash = "sha256-Z8+g5jXjcWNTYU9Xvze7scu348okMauGMhSZwX1sS9w="; 30 }; 31 }; 32in 33corretto.overrideAttrs ( 34 final: prev: { 35 # Corretto17 has incorporated this patch already so it fails to apply. 36 # We thus skip it here. 37 # See https://github.com/corretto/corretto-17/pull/158 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 ]; 44 } 45)