!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

122 Members
27 Servers

Load older messages


SenderMessageTime
23 Nov 2024
@tomodachi94:matrix.orgTomodachi94 (they/them)* I'm also wondering if we should pin the built-in Maven plugins to versions in Nixpkgs and update them one-by-one instead of with the Maven package. Essentially, introducing a patcher that pins plugins to predetermined versions if they are present in pom.xml, updating them one-by-one after a Maven update is merged18:23:37
@tomodachi94:matrix.orgTomodachi94 (they/them)We would absolutely need to script those updates though18:24:41
@tomodachi94:matrix.orgTomodachi94 (they/them)* I'm also wondering if we should pin the built-in Maven plugins to versions in Nixpkgs and update them one-by-one instead of with the Maven package. Essentially, introducing a patcher that pins plugins to predetermined versions if they are present in pom.xml but not pinned, updating them one-by-one after a Maven update is merged18:26:16
@numinit:matrix.orgMorgan (@numinit)I've gotta figure out a way to automatically build gradle.lock with gradle2nix and the sandbox off18:33:24
@numinit:matrix.orgMorgan (@numinit)Since gradle feels the need to resolve dependencies lazily, you basically need to run the build before you can run the build 😩18:34:29
@tomodachi94:matrix.orgTomodachi94 (they/them)(Everything would be so much simpler if these build systems just used proper lockfiles 💔)18:35:14
@numinit:matrix.orgMorgan (@numinit)I tried gradle's lock format and it wasn't proper by any extent, lol. No hashes, no URLs18:35:37
@emilazy:matrix.orgemily we have a Gradle locking solution in the tree with mitm-cache now 18:36:09
@emilazy:matrix.orgemilyit does just build everything twice though18:36:17
@numinit:matrix.orgMorgan (@numinit)Oh, cool, I was wondering about that18:36:22
@emilazy:matrix.orgemilyit's awful. all Java tooling is so awful18:36:36
@emilazy:matrix.orgemilywe really ought to just shim in our own local FS repository and build everything from source but 🙃18:36:59
@tomodachi94:matrix.orgTomodachi94 (they/them) Tangentially related: I'm wondering if we should split out the Gradle hook into gradle.hook as well? 18:37:53
@tomodachi94:matrix.orgTomodachi94 (they/them)Anyways I'm going to attempt to refactor the Maven build story to use hooks18:39:32
@numinit:matrix.orgMorgan (@numinit)The setup hooks in gradle2nix work pretty well 18:39:46
@numinit:matrix.orgMorgan (@numinit)It's a nice paradigm 18:39:57
@tomodachi94:matrix.orgTomodachi94 (they/them)Wondering if we should rip out mvn2nix Nixpkgs support and send it upstream?18:41:01
@tomodachi94:matrix.orgTomodachi94 (they/them)Wait the upstream repo is archived: https://github.com/NixOS/mvn2nix-maven-plugin18:41:28
@emilazy:matrix.orgemilyprobably it was merged in to the monorepo18:42:21
@tomodachi94:matrix.orgTomodachi94 (they/them)Looks like it was semi-automatic: https://github.com/NixOS/mvn2nix-maven-plugin/issues/3318:43:07
@tomodachi94:matrix.orgTomodachi94 (they/them)Is anyone interested in reviving it? 🙃18:52:33
@tomodachi94:matrix.orgTomodachi94 (they/them)I'm leaning towards ripping it out of Nixpkgs, if anyone wants to revive it they can take the docs and builder and put it into the repository18:53:24
@tomodachi94:matrix.orgTomodachi94 (they/them)* I'm leaning towards ripping it out of Nixpkgs, if anyone wants to revive it they can take the docs and builder and put it into the repository itself18:53:31
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@tomodachi94:matrix.org
Is anyone interested in reviving it? 🙃
We should probably:
  • Post a call for maintainers on Discourse

  • Wait a week

  • If nobody responds, rip it out as mentioned above

  • If someone responds, collaborate on moving the builder and docs to the upstream repo

18:55:38
@tomodachi94:matrix.orgTomodachi94 (they/them)Nothing in-tree is using it afaict18:56:03
@tomodachi94:matrix.orgTomodachi94 (they/them) cc @fzakaria, who appears to have been heavily involved in it 18:56:17
@tricktron:matrix.orgtricktron joined the room.19:11:04
@tomodachi94:matrix.orgTomodachi94 (they/them)Welcome :)19:13:22
@tricktron:matrix.orgtricktronHello fellow JVM Nixers :)19:14:05
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@tricktron:matrix.org
Hello fellow JVM Nixers :)
There's a little bit of (unrelated) Maven discussion about mvn2nix if you're interested 🙂
19:16:33

Show newer messages


Back to Room ListRoom Version: 6