Skip to content

Commit

Permalink
Merge pull request #313927 from wegank/openjdk-bump-split-4
Browse files Browse the repository at this point in the history
openjdk17, openjfx17, corretto17: update
  • Loading branch information
thiagokokada authored May 26, 2024
2 parents 4615c9d + 09b0b53 commit bf40cc6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
19 changes: 14 additions & 5 deletions pkgs/development/compilers/corretto/17.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ fetchFromGitHub
, fetchurl
, gradle_7
, jdk17
, lib
Expand All @@ -9,17 +10,25 @@
}:

let
corretto = import ./mk-corretto.nix {
corretto = import ./mk-corretto.nix rec {
inherit lib stdenv rsync runCommand testers;
jdk = jdk17;
gradle = gradle_7;
version = "17.0.8.8.1";
version = "17.0.11.9.1";
src = fetchFromGitHub {
owner = "corretto";
repo = "corretto-17";
rev = "9a3cc984f76cb5f90598bdb43215bad20e0f7319";
sha256 = "sha256-/VuB3ocD5VvDqCU7BoTG+fQ0aKvK1TejegRYmswInqQ=";
rev = version;
sha256 = "sha256-LxZSFILFfyh8oBiYEnuBQ0Og2i713qdK2jIiCBnrlj0=";
};
};
in
corretto
corretto.overrideAttrs (final: prev: {
# HACK: Removes the FixNullPtrCast patch, as it fails to apply. Need to figure out what causes it to fail to apply.
patches = lib.remove
(fetchurl {
url = "https://git.alpinelinux.org/aports/plain/community/openjdk17/FixNullPtrCast.patch?id=41e78a067953e0b13d062d632bae6c4f8028d91c";
sha256 = "sha256-LzmSew51+DyqqGyyMw2fbXeBluCiCYsS1nCjt9hX6zo=";
})
prev.patches;
})
6 changes: 3 additions & 3 deletions pkgs/development/compilers/openjdk/17.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
let
version = {
feature = "17";
interim = ".0.7";
build = "7";
interim = ".0.11";
build = "9";
};

# when building a headless jdk, also bootstrap it with a headless jdk
Expand All @@ -26,7 +26,7 @@ let
owner = "openjdk";
repo = "jdk${version.feature}u";
rev = "jdk-${version.feature}${version.interim}+${version.build}";
sha256 = "sha256-S6QOB4Tbi+K1yjvvywTfvwFI2eX8AiqIx5c3zfxcskc=";
sha256 = "sha256-aO4iSc9MklW/4q9U86WEfiiWnlq6iZSbxzq2fbsqd0A=";
};

nativeBuildInputs = [ pkg-config autoconf unzip ];
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/compilers/openjdk/openjfx/17.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

let
major = "17";
update = ".0.6";
build = "+3";
update = ".0.11";
build = "-ga";
repover = "${major}${update}${build}";
gradle_ = (gradle_7.override {
java = openjdk17_headless;
Expand All @@ -31,7 +31,7 @@ let
owner = "openjdk";
repo = "jfx${major}u";
rev = repover;
sha256 = "sha256-9VfXk2EfMebMyVKPohPRP2QXRFf8XemUtfY0JtBCHyw=";
sha256 = "sha256-WV8NHlYlt7buGbirLSorLnS2TnyBD17zUquFfwSL3xE=";
};

buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsa-lib ffmpeg_4-headless ];
Expand Down

0 comments on commit bf40cc6

Please sign in to comment.