!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

121 Members
27 Servers

Load older messages


SenderMessageTime
19 Jul 2022
@fzakaria:one.ems.hostfzakariaI think gradle is a lot easier since it can generate a lock file16:59:16
@fzakaria:one.ems.hostfzakariaAlthough that lock file might be missing everything; it tends to only include runtime dependencies and not preprocessors, plugins etc..16:59:35
@fzakaria:one.ems.hostfzakariaIf we could hack Maven to legitimately output all dependencies downloaded in a fresh m2 store then its doable16:59:36
@fzakaria:one.ems.hostfzakarianoChRoot is also pretty doable but not "pure nix"17:00:01
@yuu:matrix.orgYuu Yin
In reply to @fzakaria:one.ems.host
If we could hack Maven to legitimately output all dependencies downloaded in a fresh m2 store then its doable
is there a pattern for which dependencies aren't put in the m2 store? like maybe plugins are left out?
17:11:08
@fzakaria:one.ems.hostfzakariawell if you write a plugin to analyze dependencies you cannot get those 17:19:36
@fzakaria:one.ems.hostfzakariaso you need to hack maven deeper17:19:44
@fzakaria:one.ems.hostfzakariathe other problem i had was that an artifact can be vended from multiple artifactories17:20:09
@fzakaria:one.ems.hostfzakariasame version but different SHA :(17:20:13
@fzakaria:one.ems.hostfzakariawhich is silly 17:20:22
22 Jul 2022
@yuu:matrix.orgYuu Yin
In reply to @fzakaria:one.ems.host
same version but different SHA :(
i've encountered it while packaging this https://github.com/NixOS/nixpkgs/pull/154188/checks?check_run_id=7473713573 using the usual fod. so basically non-reproducible
18:47:02
@yuu:matrix.orgYuu Yin
In reply to @fzakaria:one.ems.host
same version but different SHA :(
* i've encountered maybe a similar issue while packaging this https://github.com/NixOS/nixpkgs/pull/154188/checks?check_run_id=7473713573 using the usual fod. so basically non-reproducible
18:52:55
24 Jul 2022
@jkxyz:matrix.orgjkxyz joined the room.18:35:51
1 Aug 2022
@better_sleeping:converser.eubetter_sleeping joined the room.09:13:59
@better_sleeping:converser.eubetter_sleeping left the room.09:14:12
@whentze:matrix.orgWanja Hentze
In reply to @fzakaria:one.ems.host
If we could hack Maven to legitimately output all dependencies downloaded in a fresh m2 store then its doable
I think we did this, in a very brutish way, for clojure-nix-locker:
https://github.com/bevuta/clojure-nix-locker/blob/master/default.nix#L61
12:16:19
@whentze:matrix.orgWanja Hentzewe set that thing to make maven use the freshly created directory for its cache, then run a user-provided build command (that hopefully pulls everything needed into the cache), then walk the cache to generate a lockfile12:17:06
@whentze:matrix.orgWanja Hentzethis works perfectly fine for clojure stuff, but that might be because that tends to make only relatively simple usage of maven. I can see this breaking in the presence of advanced maven features.12:18:00
@whentze:matrix.orgWanja Hentze you also need to set $HOME IIRC, we do that in a different place 12:19:24
6 Aug 2022
@yuu:matrix.orgYuu Yin changed their display name from yuu to yuu[m].17:42:53
@yuu:matrix.orgYuu Yin changed their display name from yuu[m] to yuu.20:35:45
13 Aug 2022
@yuu:matrix.orgYuu Yin changed their display name from yuu to yuu[m].03:15:31
@yuu:matrix.orgYuu Yin changed their display name from yuu[m] to yuu.05:06:01
17 Aug 2022
@greaka:greaka.degreaka joined the room.20:23:36
21 Aug 2022
@greaka:greaka.degreaka changed their display name from greaka ⚡️ to greaka .09:25:58
23 Aug 2022
@callmeecho:matrix.orgEcho joined the room.00:50:12
30 Aug 2022
@aruzeta:matrix.orgaru joined the room.14:43:02
@aruzeta:matrix.orgaru left the room.14:50:37
9 Sep 2022
@x10an14:matrix.orgx10an14 joined the room.16:45:33
@x10an14:matrix.orgx10an14Hi! Does anyone here have a tip for a kotlin/gradle suitable tool like naersk is for regust/cargo, and poetry2nix is for python/poetry? I tried to make use of https://github.com/the-nix-way/dev-templates/ and https://github.com/tadfisher/gradle2nix, but I got stuck on different things (error messages and ignorance that READMEs/gh issues couldn't elucidate for me) with either option. I'm looking for a solution that supports flakes, mostly for the use of nix-direnv for development, versioning (e.g. of JVM), and testing.17:22:33

Show newer messages


Back to Room ListRoom Version: 6