!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

110 Members
24 Servers

Load older messages


SenderMessageTime
1 Jan 2025
@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
@rdfg77:kde.orglinsuiDoes fetchDeps work with postPatch?16:46:42
@rdfg77:kde.orglinsuiSo that the mitmCache package will be smaller?16:47:47
@emilazy:matrix.orgemilyit won't include the broken Postgres16:51:23
@emilazy:matrix.orgemilynot sure :/16:51:48
@emilazy:matrix.orgemily it uses some srcOnly stuff 16:51:49
@emilazy:matrix.orgemily it may be harmless to have the mitmCache entries though 16:51:49
@emilazy:matrix.orgemilyI think patching the Gradle file is the correct way in any case16:51:50
@rdfg77:kde.orglinsuiYep :)16:53:14
@rdfg77:kde.orglinsuiHow should I deal with transit deps of it? I need to package https://github.com/zonkyio/embedded-postgres and remove the dep of the embeded pg binaries. But it has other maven deps.18:18:52
@rdfg77:kde.orglinsui* How should I deal with transitive deps of it? I need to package https://github.com/zonkyio/embedded-postgres and remove the dep of the embeded pg binaries. But it has other maven deps.18:19:31
@emilazy:matrix.orgemilyah, I think I misunderstood: I thought you wanted to replace some Java PostgreSQL binding it used with one we already have packaged in Nixpkgs (as part of the PostgreSQL package, say)18:19:59
@emilazy:matrix.orgemilybut this is a library that embeds and spawns Postgres itself?18:20:05
@emilazy:matrix.orgemilythat's unfortunate, I wonder if we can convince the library to use our own Postgres…18:20:24
@rdfg77:kde.orglinsuiYes, it packages pg binaries in its deps.18:20:32
@rdfg77:kde.orglinsuiWith patches we can do anything. :)18:20:47
@emilazy:matrix.orgemilyre: transitive deps, I think you should be able to just use our standard Maven builders? I believe those work in the usual FOD hash way and you could inject that into jabref18:20:58
@emilazy:matrix.orgemilybut I'm not entirely sure. Java dependency handling is a mess and I don't trust it.18:21:08
@rdfg77:kde.orglinsuiIt unzip the pg binaries into a tmp dir and run it. I'll patch it to run pg from nixpkgs.18:21:45
@emilazy:matrix.orgemily in true Java fashion, the library has an interface PgBinaryResolver. maybe you could patch jabref to implement that interface and use it, and skip patching the library entirely 18:21:53

Show newer messages


Back to Room ListRoom Version: 6