| 17 Jul 2025 |
msgilligan | I need to learn about magic refs then. | 21:49:22 |
msgilligan | Since I'm (mostly) on Darwin, I use Home Manager, so I would add the JDK-ea Nixpkgs as an additional input. | 21:50:57 |
msgilligan | * Since I'm (mostly) on Darwin, I use Home Manager, so I would add the JDK-ea Nixpkgs as an additional input (to my flake-based Home Manager config) | 21:51:14 |
Infinidoge 🏳️⚧️ | In reply to @emilazy:matrix.org I don't think fetchTree changes anything there Eelco suggested adding a patches option to fetchTree, which would support directly applying patches to an input without IFD
it isn't something that currently exists In Reality though, which is why it's only hope and not anticipation
| 21:51:18 |
Infinidoge 🏳️⚧️ | In reply to @emilazy:matrix.org I don't think fetchTree changes anything there * Eelco (supposedly, this isn't directly from him) suggested adding a patches option to fetchTree, which would support directly applying patches to an input without IFD
it isn't something that currently exists In Reality though, which is why it's only hope and not anticipation
| 21:51:30 |
emily | right | 21:52:21 |
emily | tbh just maintaining a fork is the most convenient thing, give appropriate tooling | 21:52:48 |
emily | (starts with a j ends with a ujutsu) | 21:52:58 |
Infinidoge 🏳️⚧️ | I really need to start looking into jj | 21:53:15 |
Infinidoge 🏳️⚧️ | I'm used to by sprawling collection of git aliases and am comfortable with git, so I haven't so far, but it's workflow looks a lot more practical | 21:53:43 |
@softmoonworld:matrix.org | is there a temurin-bin-17 for version 17.0.15+6? Is this an opportunity for me to contribute or am I confused? I only see the jdk17 which is not temurin. I also see openjdk17-bootstrap which is confusing me because it says it's temurin. Love any pointers, and I'd be so happy to submit a PR | 21:54:19 |
Infinidoge 🏳️⚧️ | temurin-bin-17 == openjdk17-bootstrap, and as of the current master branch, is version 17.0.15 | 21:56:46 |
Infinidoge 🏳️⚧️ | Unsure about the +6 | 21:56:49 |
emily | In reply to @infinidoge:inx.moe I'm used to by sprawling collection of git aliases and am comfortable with git, so I haven't so far, but it's workflow looks a lot more practical IMO it is simpler than Git for beginners and more powerful than Git for experts. | 21:56:55 |
emily | in this case the nice thing for forks is that it is easy to maintain a merge of 5 branches into one | 21:57:18 |
emily | which is nominally a thing you can do in Git but in practice is no fun | 21:57:32 |
@softmoonworld:matrix.org | Infinidoge 🏳️⚧️: thank you! i think maybe that is something i could help update if someone else can't do it | 22:00:07 |
msgilligan | I'm going to keep it simple and just keep it as fork and a regularly rebased PR. It may not turn out to be a long-term thing. Once JDK 25 (both regular and GraalVM) is in Nixpkgs, I may lose interest. | 22:00:07 |
msgilligan | So, I will look at breaking out the mergable stuff, like GITHUB_TOKEN into separate PRs and maintaining a PR with the EA-25 as well. I will then be able to use and test this in various places with a separate flake input. I think this will work for me and should also help the Nixpkgs JDK team support 25 GA sooner. | 22:01:57 |
msgilligan | I created an org and a fork: https://github.com/nixpkgs-jdk-ea/nixpkgs | 22:03:15 |
msgilligan | Thanks everyone for your time and advice! | 22:18:33 |
@softmoonworld:matrix.org | if anyone was interested -- I looked into the code for temurin and it says 17.0.15 but it does download the +6 version since it's automatically getting the latest. | 23:13:16 |
Infinidoge 🏳️⚧️ | Cool, I meant to check that but I got distracted by at least 4 separate tangents and forgot | 23:14:01 |
emily | the versioning scheme is weird | 23:19:52 |
emily | +n are prereleases until they declare one of them to be -ga | 23:20:04 |
emily | so we never package the same version with a different +n, since we wait for -ga but represent it with the +n to match Temurin etc. since that's the canonical version | 23:20:26 |
Infinidoge 🏳️⚧️ | I love Java
I mean it both sarcastically and seriously | 23:25:07 |
@softmoonworld:matrix.org | ahh thats so interesting | 23:40:16 |
msgilligan | Java has had some of the craziest versioning schemes I've seen, thought they've reigned in some of their worst mistakes. e.g. Java 2 version 1.3. | 23:40:22 |
@softmoonworld:matrix.org | i'm in this funny place where i'm going to be working on a java code base and i am not a java professional, and i've also installed nixOS on my machine and i'm just learning a lot very fast right now. | 23:41:01 |