!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

122 Members
27 Servers

Load older messages


SenderMessageTime
27 Dec 2024
@emilazy:matrix.orgemily(it was on 21 but 22 was packaged)13:00:43
@emilazy:matrix.orgemily so yes I think jdk/openjdk/etc. pointing to the latest LTS is the correct move, I think it also matches what other distros generally do 13:00:52
@emilazy:matrix.orgemily FWIW my idea was that we ship openjdk_latest as the rolling latest non-LTS version (and when a new LTS comes out openjdk = openjdk_latest until the next release) 13:01:31
@emilazy:matrix.orgemilysince pinning a specific version that goes EOL within 6 months is somewhat futile13:01:48
@emilazy:matrix.orgemilyFedora does this (I think they call it "rolling")13:01:54
@raboof:matrix.orgraboofis there a 'typical' way to install an 'arbitrary' jdk these days? e.g., I'd like a jdk24 build. I used https://codeberg.org/raboof/nix-jabba for a while but I bet there's a better way by now :)14:16:49
@raboof:matrix.orgraboofnerdsnipe 🤦 https://github.com/NixOS/nixpkgs/pull/36859817:58:11
@emilazy:matrix.orgemilythe JDK release cycle doesn't necessarily line up with the Nixpkgs one, right?18:05:37
@raboof:matrix.orgraboofhmm kinda it seems (e.g. https://www.oracle.com/java/technologies/java-se-support-roadmap.html)18:07:59
1 Jan 2025
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.14:26:16
@rdfg77:kde.orglinsui joined the room.16:10:49
@rdfg77:kde.orglinsuiI thought openjfx build has been fixed in https://github.com/NixOS/nixpkgs/pull/365724 but it still fails for jabref. https://hydra.nixos.org/build/282405302/nixlog/6 Is the webkit enabled openjfx not fixed?16:15:02
@emilazy:matrix.orgemilythat is plausible. probably needs patches backporting from upstream WebKit16:19:12
@emilazy:matrix.orgemily(I don't feel too good about OpenJFX's ability to keep up with WebKit security fixes 😬)16:19:30
@emilazy:matrix.orgemilyhttps://github.com/openjdk/jfx23u/commit/fa41f904fc9e0034d3af4d7b4b4cc5d7ddde330016:21:34
@emilazy:matrix.orgemilythere's this which is not in the stable release version16:21:39
@emilazy:matrix.orgemilymay fix the build but also I'd be shocked if none of this diff is security-relevant as well 🫠16:21:52
@emilazy:matrix.orgemilyoh, joy… it looks like OpenJFX 21 might be out of security support16:25:39
@emilazy:matrix.orgemilynot clear actually16:26:19
@emilazy:matrix.orgemilythey seem to be behind on WebKit updates and https://jdk.java.net/javafx21/ has a scary notice16:26:36
@emilazy:matrix.orgemilybut https://gluonhq.com/products/javafx/ implies it's in LTS, but unclear if that's FOSS or just for paying customers :)16:27:05
@emilazy:matrix.orgemilyanyway, I would just try pulling upstream WebKit patches that haven't yet made the releases we package, for any broken OpenJFX+WebKits16:27:53
@rdfg77:kde.orglinsuiThanks!16:34:47
@emilazy:matrix.orgemily(by upstream WebKit patches I mean OpenJFX's rollups of WebKit changes, it may also be necessary to pull commits from WebKit itself but hopefully not)16:36:54
@rdfg77:kde.orglinsuiWhen updating jabref I encountered another problem. It added embeded postgresql. The packaged postgresql doesn't run on NixOS. I thought I should replace it with the postgresql in nixpkgs. Should I override mitmCache somehow?16:37:46
@rdfg77:kde.orglinsuiOr I should replace the jar in lib/?16:38:09
@emilazy:matrix.orgemily I think you can patch the Gradle file to use a file dependency and just inject the path to our .jar 16:39:24
@emilazy:matrix.orgemilyand then regenerate the mitm-cache16:39:28
@rdfg77:kde.orglinsuiThen I thought I need to add the patch into the FOD. I thought this is not necessary.16:45:39
@emilazy:matrix.orgemily it'll change what dependencies Gradle calculates, so you can patch the Gradle file and then update the mitmCache JSON 16:46:04

Show newer messages


Back to Room ListRoom Version: 6