| 17 Jul 2025 |
emily | by the way it looks like one of our OpenJFXs went EOL half a year ago 🫣 | 17:30:00 |
emily | (and in particular this should be easy to do with Temurin binary + OpenJFX source build or probably even Temurin binary + OpenJFX binary, so we don't need Zulu for this even without making the OpenJDK build work on Darwin) | 17:30:42 |
msgilligan | Interesting. Should we open an issue for this? | 17:34:58 |
emily | probably :)
but FWIW when I say "make the OpenJDK build work on Darwin" I don't mean it like "embark on this big project". I mean "it's probably trivial (~15 lines diff max?) but nobody tried in years and Darwin support used to be much less bad" | 17:37:12 |
emily | I think someone could just try it, if JDK stuff is a higher priority for them than me | 17:37:31 |
emily | and/or already did if there is in fact an open PR for it? | 17:37:42 |
emily | …but this should probably get dropped from unstable and marked knownVulnerabilities on stable ASAP, since those things have an entire browser engine with a JavaScript JIT in them | 17:38:31 |
msgilligan | I saw the PR for OpenJDK source build for Darwin a few days ago, but couldn't find it 1/2 hour ago. I recall reading there were provenance issues with Xcode. | 17:39:00 |
emily | (and we recently tightened standards around maintenance of browser engines for security reasons in Nixpkgs) | 17:39:16 |
msgilligan | I was talking about opening a PR for adding OpenJFX to Temurin for Darwin. | 17:39:51 |
msgilligan | * I was talking about opening a PR for adding OpenJFX to Temurin for Darwin with jlink. | 17:40:06 |
emily | right | 17:41:07 |
emily | I just mean that "just make the existing expressions build on Darwin" may be comparably trivial | 17:41:28 |
emily | the things that need doing are mostly not hard, just… nobody with the time to do them :) | 17:41:52 |
Infinidoge 🏳️⚧️ | In reply to @msgilligan:matrix.org I saw the PR for OpenJDK source build for Darwin a few days ago, but couldn't find it 1/2 hour ago. I recall reading there were provenance issues with Xcode. Ah yep I remember that PR | 17:51:36 |
Infinidoge 🏳️⚧️ | The problem being that compiling it requires Xcode, which is non-viable for Nix | 17:51:50 |
msgilligan | I found this issue: https://github.com/NixOS/nixpkgs/issues/313213 | 17:51:50 |
msgilligan | (I remember doing a GUIX build with Xcode once, but that wasn't part of GUIX itself) | 17:52:47 |
msgilligan | Why is Xcode non-viable? | 17:53:52 |
msgilligan | (I realize it's both binary and non-free, but just curious exactly how non-viable is defined in this context) | 17:54:23 |
Infinidoge 🏳️⚧️ | Pretty sure it would directly violate Xcode's license | 17:56:30 |
Infinidoge 🏳️⚧️ |  Download image.png | 17:57:39 |
Infinidoge 🏳️⚧️ | Not to mention needing Darling or a VM to even run it on Linux, making cross-compiling impossible | 17:58:10 |
Infinidoge 🏳️⚧️ | Or at least extremely impractical | 17:59:46 |
Infinidoge 🏳️⚧️ | https://docs.godotengine.org/en/2.1/development/compiling/cross-compiling_for_ios_on_linux.html | 17:59:48 |
Infinidoge 🏳️⚧️ | Godot's page about it makes it seem... extremely not fun | 17:59:57 |
Infinidoge 🏳️⚧️ | Not the worst, but not fun | 18:00:08 |
emily | uhh, why does Xcode even come into this | 18:00:09 |
Infinidoge 🏳️⚧️ | From what I remember of the PR, compiling the JDK properly for Darwin required Xcode | 18:00:29 |
emily | we have a full native LLVM toolchain and macOS SDK in Nixpkgs | 18:00:33 |