!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

113 Members
24 Servers

Load older messages


SenderMessageTime
27 Mar 2025
@tomodachi94:matrix.orgTomodachi94 (they/them) If we go this route, https://github.com/nixos/nixpkgs/issues/358845 would also need to be dealt with 00:18:20
@msgilligan:matrix.orgmsgilligan* Gradle 8.14 is needed to be able to build for JDK 24, but still requires JDK 23 (or earlier) to run Gradle itself.00:30:52
@tomodachi94:matrix.orgTomodachi94 (they/them) As for Java itself, I think we're okay on breaking changes? Java 23 is LTS afaict, and 24 was released about a week ago 00:34:05
@tomodachi94:matrix.orgTomodachi94 (they/them) As for Java itself, I think we're okay on breaking changes? OpenJDK 23 is LTS afaict, and 24 was released about a week ago 00:34:12
@msgilligan:matrix.orgmsgilliganDo stable releases of Nix commonly add newly released versions of packages (such as Gradle 9)? Is that something that users expect? (Can 7 be dropped without an obligation to add 9 later?)00:34:27
@msgilligan:matrix.orgmsgilliganJDK 21 is LTS and the next one will be JDK 25 (in September)00:35:06
@tomodachi94:matrix.orgTomodachi94 (they/them)If we made Gradle 9 the default Gradle, that is definitely breaking. If we just added a `gradle_9' attribute without changing it on stable, we wouldn't be breaking stability guarantees00:36:09
@tomodachi94:matrix.orgTomodachi94 (they/them) If we made Gradle 9 the default Gradle, that is definitely breaking. If we just added a gradle_9 attribute without changing it on stable, we wouldn't be breaking stability guarantees 00:36:24
@tomodachi94:matrix.orgTomodachi94 (they/them) If we made Gradle 9 the default Gradle, that is definitely breaking. If we just added a gradle_9 attribute without making it default it on stable, we wouldn't be breaking stability guarantees 00:36:36
@tomodachi94:matrix.orgTomodachi94 (they/them) (Making it default in this case would mean assigning it to the regular gradle attribute) 00:37:04
@emilazy:matrix.orgemilyyes, backports of new packages are allowed00:38:19
@emilazy:matrix.orgemilychanging default versions backwards-incompatibly isn't00:38:29
@emilazy:matrix.orgemily(so whatever Gradle 25.05 releases with will be the default for its lifespan)00:38:37
@emilazy:matrix.orgemilyah, which is exactly what tomodachi said :)00:38:50
@msgilligan:matrix.orgmsgilligan (My current Java on Nix work is using non-LTS JDKs 22->23->24->25 and I plan to stay on unstable until JDK 25 is in a stable release -- hopefully in November. I've been asking to keep the two most recent non-LTS JDKs in unstable, but don't have an opinion on what should be in stable branches. Though I'd probably lean to "package-drop-giddy" so people can focus on the newer stuff 😁) 00:40:53
@msgilligan:matrix.orgmsgilligan And I'm trying to help out a little here and there, with things like jextract. 00:41:57
@emilazy:matrix.orgemilywe don't really have the resources to backport security fixes to EOL JDKs (not sure if anyone does other than Red Hat or something)00:42:18
@emilazy:matrix.orgemily theoretically we could keep them with knownVulnerabilities though 00:42:24
@tomodachi94:matrix.orgTomodachi94 (they/them) The reason I had this concern is because of what happened with Gradle 6 during the 24.11 release cycle. We ended up adding knownVulnerabilities to it, backporting that change to 24.05, then dropping it from unstable 00:43:16
@tomodachi94:matrix.orgTomodachi94 (they/them)"All roads lead to knownVulnerabilities"00:43:27
@msgilligan:matrix.orgmsgilliganThis would work for me. I've had problems with JDKs being dropped when I have complex builds that require multiple recent versions. I'm trying to migrate off the dropped one as quickly as possible, but having say 23 disappear in the same commit as 24 appears makes this difficult.00:44:53
@emilazy:matrix.orgemilyfwiw, nothing stops you from using OpenJDK 23 from the Nixpkgs revision before 24 was added00:46:06
@emilazy:matrix.orgemilywhile keeping the rest of your system on a newer rev00:46:15
@msgilligan:matrix.orgmsgilliganI just have to have two inputs in my flake?00:46:32
@emilazy:matrix.orgemilyright00:46:35
@emilazy:matrix.orgemilybeing able to mix and match like that is part of why we generally err on the side of dropping stuff to ease maintainer burden00:46:55
@msgilligan:matrix.orgmsgilliganBut I can't do that if I want to submit to Nixpkgs itself, right?00:47:19
@emilazy:matrix.orgemilyit won't get updates to its dependencies, but the complex JIT engine is already the riskiest dependency in the tree anyway :)00:47:19
@tomodachi94:matrix.orgTomodachi94 (they/them) Correct 00:47:44
@msgilligan:matrix.orgmsgilligan This is why jextract had to be marked as broken, for example. 00:48:28

Show newer messages


Back to Room ListRoom Version: 6