!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

116 Members
27 Servers

Load older messages


SenderMessageTime
13 Sep 2024
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️The ecosystem is just fundamentally centered around downloading dependencies using build tools, which in the case of Java, can be non-trivial to analyze ahead of time15:07:17
@trexd:matrix.orgtrexdYeah I'm just working with an incredibly complex gradle project and I'm wondering if I rewrote everything how I would make my life easier on the nix side. 15:09:19
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Ideally someone would make a PR to gradle that makes lockfiles a thing, But the likelihood of that is slim lol15:10:07
@trexd:matrix.orgtrexdthe lockfiles are just so useless in our case because there are dependencies that are fetched at build time. It's honestly very difficult for me to wrap my head around. 15:11:36
@trexd:matrix.orgtrexdsorry just ranting a bit15:11:55
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Nah I get it, I work on Minecraft mods and it's gradle all the way down lmao15:15:23
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️(Honestly one of the few things I don't build with Nix because it's really annoying)15:17:12
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️(For those unfamiliar, Minecraft modding has a lineage of gradle plugins for handling the process, including downloading dependencies, decompiling and deobfuscating/remapping sources, and then stitching everything back up together)15:18:29
@trexd:matrix.orgtrexdJust got my first job out of college and I was very excited to bring Nix into my work but I got really unlucky getting stuck on this gradle based project. I can solve many of the problems that we're having using Nix but gradle is such a blocker. Our security team wants hashes for everything and a clear lineage between dependencies and Nix would be perfect for this but because I can't use Nix, I'm writing some jank version of nix's phases in our CICD pipelines and it's sooooooo painful. 15:21:05
14 Sep 2024
@ss:someonex.netSomeoneSerge (utc+3) changed their display name from SomeoneSerge (nix.camp) to SomeoneSerge (utc+3).11:38:02
16 Sep 2024
@silentlurker:matrix.orgsilentlurker joined the room.19:56:28
18 Sep 2024
@artur:glasgow.social(artur 'manuel) changed their profile picture.23:00:42
19 Sep 2024
@memegames99:matrix.orgmemegames99 joined the room.01:52:12
@memegames99:matrix.orgmemegames99 set a profile picture.02:02:21
@memegames99:matrix.orgmemegames99 changed their profile picture.02:02:27
@benjaminedwardwebb:envs.netbenwebb joined the room.21:37:51
21 Sep 2024
@luna-null:matrix.orgluna-null joined the room.05:43:41
24 Sep 2024
@trexd:matrix.orgtrexd tad: Any updates on gradle2nix v2? Don't mean to pressure you. Just curious. 14:12:12
@emilazy:matrix.orgemily joined the room.18:12:28
@emilazy:matrix.orgemily hi there, I'm working on the JDK 22 EOL / JDK 23 update. I have some questions about the state of JDKs in Nixpkgs, especially after seeing Infinidoge 🏳️‍⚧️'s PR working on some of the cleanup 18:13:09
@emilazy:matrix.orgemilyby my count, we ship from-source builds of OpenJDK (bootstrapped through Temurin), and binary distributions of Zulu, Temurin, Semeru, and Amazon Corretto18:13:57
@emilazy:matrix.orgemilyI guess my big question is "why" :) we need a binary distribution for bootstrap so Temurin makes sense, Semeru has OpenJ9 instead of HotSpot which makes sense, I believe Zulu might have some kind of optimizations or something and we ship it for Darwin (I guess because source builds don't work? but why not Temurin as we use for the bootstrap?), but Amazon Corretto makes zero sense to me18:14:50
@emilazy:matrix.orgemilyit would be nice to deduplicate some of these definitions – OpenJDK versions are all copy-pasted from each other, Temurin and Semeru are copy-pasted from each other and the Linux and Darwin derivations of those are also copy-pasted from each other, etc. – but it seems a little absurd that we're shipping 5 different JDK options and I'd like to understand better which ones people actually care about18:15:39
@emilazy:matrix.orgemilyit's also not clear to me if we need to be shipping so many LTS versions – for instance Debian has dropped JDK 818:16:14
@emilazy:matrix.orgemily(if I had to make a concrete proposal it'd be OpenJDK source build, one of Temurin or Zulu, and Semeru, and shipping latest LTS, maybe latest stable version, and whatever minimum number of LTSes we can get away with (just 17? 11 too?) – but I'm not the expert here)18:41:18
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️
In reply to @emilazy:matrix.org
I guess my big question is "why" :) we need a binary distribution for bootstrap so Temurin makes sense, Semeru has OpenJ9 instead of HotSpot which makes sense, I believe Zulu might have some kind of optimizations or something and we ship it for Darwin (I guess because source builds don't work? but why not Temurin as we use for the bootstrap?), but Amazon Corretto makes zero sense to me
We ship Zulu as the source build for Darwin, itself bootstrapped off of Temurin, is my understanding
Not sure about Corretto, but I think it's a specific production-focused JDK
19:20:45
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️That said, my PR for cleanup was specifically about versions that are broken and long-disused, I don't want to go down the route of just purging JDK versions because they aren't used very much, since ideally Nixpkgs would package everything19:21:18
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Those versions were purged because they made OpenJDK unmaintainable :)19:21:27
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️I think the only major thing that needs to be done for cleanup is deduplicating between the source builds, as that is a big mess so far19:21:59
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️
In reply to @emilazy:matrix.org
it's also not clear to me if we need to be shipping so many LTS versions – for instance Debian has dropped JDK 8

IMO we should keep all currently-supported LTS versions.

Not sur ewhere you got Debian dropping JDK 8 from, I can see it in the Debian package list, even in sid

19:23:00

Show newer messages


Back to Room ListRoom Version: 6