NixOS JVM | 121 Members | |
| 27 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Jul 2025 | ||
| Having been the one to remove most of the JDKs, the problem with bootstrapping is maintaining all of the components | 16:35:11 | |
| Most of the JDK steps were very unable to build I tried fixing them and at a certain point I just gave up | 16:35:46 | |
| Yeah, not only does the whole chain need to be there, but it needs to be maintained. | 16:35:58 | |
| The flipside is it would be a lot easier to notice things that would break the old versions if they were in the critical path of the current version | 16:36:32 | |
| I would really like to see full bootstrappability, but I guess that's not feasible in the short-run. | 16:36:59 | |
| So it wouldn't be as bad as maintaining old leaf versions | 16:37:03 | |
| Considering how difficult it is to actively maintain OpenJDK already without the bootstrap chain, I am very skeptical of the benefit | 16:37:36 | |
| It seems like creating tools to make the current maintenance easier is probably one of the biggest return-on-investment strategies. The JDK Dashboard tool, auto-updaters, more and better passthru tests, for example. | 16:40:42 | |
| Yeah | 16:41:00 | |
| Also if Nixpkgs has some mechanism to give security warnings only if something isn't a dependency | 16:41:35 | |
| I think Graal is currently unmaintained in Nixpkgs FWIW | 16:42:14 | |
| Because a bootstrap chain can't break evaluation for an EOL JDK version, but also should warn | 16:42:24 | |
| * Because a bootstrap chain can't break evaluation for an EOL JDK version, but also should warn if it is tried to be used | 16:42:28 | |
| I would suggest focusing on OpenJDK and Temurin binaries for now and expanding if it turns out there's resources to spare. in particular, I believe Zulu on Darwin can go away | 16:42:58 | |
| we use Zulu because we don't have a source build for OpenJDK/OpenJFX on Darwin. that should be easy to fix, but even ignoring that, the value-adds of Zulu over Temurin binaries are:
| 16:44:43 | |
| I think
| 16:45:24 | |
| * I think
would be sensible | 16:45:27 | |
In reply to @infinidoge:inx.moeWe have done overrides for this before. It's fine. | 16:45:36 | |
| (I planned to do this, I just ran out of steam) | 16:45:43 | |
| (we also don't need OpenJFX to be part of the OpenJDK bootstrap, it can just be used as a separate package rather than integrated into the OpenJDK build these days I think, I believe all of that logic is ~pointless) | 16:46:13 | |
| ah, sorry, I see the Darwin source build was raised. I didn't know there was a PR | 16:46:49 | |
| I don't think we need a "demotion to community-supported" status because there is no second-tier community to support it… the Zulu packages just accumulate CVEs even faster than the other ones, it's pretty droppable | 16:47:39 | |
| So, my personal priorities ("itches I need to scratch" for other projects I'm working on) are:
And I also want to learn more about Nix and help the community in general, so that's why I want to make:
It's also relatively easy for a newcomer like me to help with updates on some of the binary distributions. And anything I can do to get any JDK 24 or JDK 24 on | 16:49:22 | |
| * So, my personal priorities ("itches I need to scratch" for other projects I'm working on) are:
And I also want to learn more about Nix and help the community in general, so that's why I want to make:
It's also relatively easy for a newcomer like me to help with updates on some of the binary distributions. And anything I can do to get any JDK 24 or JDK 25 on | 16:50:08 | |
| Another thing I would like to be able to do is develop native command-line tools that are built with GraalVM and contribute them to Nixpkgs. | 16:50:58 | |
| I've also found that having an integrated OpenJFX sometimes solves build issues in various circumstances. (In theory this shouldn't be needed, but in practice it is.) | 16:52:50 | |
| * So, my personal priorities ("itches I need to scratch" for other projects I'm working on) are:
And I also want to learn more about Nix and help the community in general, so that's why I want to make:
It's also relatively easy for a newcomer like me to help with updates on some of the binary distributions. And anything I can do to get improved JDK 24 or JDK 25 on | 16:53:16 | |
| I seem to remember I encountered issues where the graalvm compiled binaries had some references to some jars in the graal derivation which meant it was pulled as a dependency. Kinda defeated the purpose of having small binaries :/ (that info might be outdated) | 16:53:37 | |
When I talk about GraalVM, I mean using native-image to generate binaries, but that is not all that GraalVM does. For the native-image case, if done properly, I"m pretty sure the binaries are stand-alone. But they are very large compared to a C binary. The advantage is they are standalone and start up quickly. | 16:56:08 | |
* When I talk about GraalVM, I mean using native-image to generate binaries, but that is not all that GraalVM does. For the native-image case, if done properly, the binaries are stand-alone. But they are very large compared to a C binary. The advantage is they are standalone and start up quickly. | 16:56:29 | |