Loading pkgs/development/compilers/corretto/mk-corretto.nix +4 −3 Original line number Diff line number Diff line Loading @@ -18,12 +18,13 @@ # builds. However, Corretto uses `gradle` as build tool (which in turn will # invoke `make`). The configure/build phases are adapted as needed. let pname = "corretto"; in # The version scheme is different between OpenJDK & Corretto. # See https://github.com/corretto/corretto-17/blob/release-17.0.8.8.1/build.gradle#L40 # "major.minor.security.build.revision" let majorVersion = builtins.head (lib.strings.splitString "." version); # same as "featureVersion" for OpenJDK pname = "corretto${majorVersion}"; in jdk.overrideAttrs ( finalAttrs: oldAttrs: { inherit pname version src; Loading Loading
pkgs/development/compilers/corretto/mk-corretto.nix +4 −3 Original line number Diff line number Diff line Loading @@ -18,12 +18,13 @@ # builds. However, Corretto uses `gradle` as build tool (which in turn will # invoke `make`). The configure/build phases are adapted as needed. let pname = "corretto"; in # The version scheme is different between OpenJDK & Corretto. # See https://github.com/corretto/corretto-17/blob/release-17.0.8.8.1/build.gradle#L40 # "major.minor.security.build.revision" let majorVersion = builtins.head (lib.strings.splitString "." version); # same as "featureVersion" for OpenJDK pname = "corretto${majorVersion}"; in jdk.overrideAttrs ( finalAttrs: oldAttrs: { inherit pname version src; Loading