!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

121 Members
27 Servers

Load older messages


SenderMessageTime
26 Oct 2025
@britter:yatrix.orgBenedikt Ritter (britter)Fix https://github.com/NixOS/nixpkgs/pull/45597919:07:00
27 Oct 2025
@britter:yatrix.orgBenedikt Ritter (britter)Does anybody have an opinion on https://github.com/NixOS/nixpkgs/pull/449037?19:32:25
@britter:yatrix.orgBenedikt Ritter (britter)And does anybody have a build node to run nixpkgs-review for this PR? Changing gradle always requires rebuilding a ton of stuff and I don't want to do that on my laptop.19:32:58
28 Oct 2025
@drupol:matrix.orgPol joined the room.14:01:39
@drupol:matrix.orgPol Heya all, I got a question regarding Gradle. I'm building a container at work containing Gradle with jdk21_headless. I noticed that that size of the container is 1.9GB. When I checkout the size of the container on Docker Hum, it's around 400MB. Do you know the reason why it is so fat when the container is built with Nix? 14:03:06
@drupol:matrix.orgPol * Heya all, I got a question regarding Gradle. I'm building a container at work containing Gradle with jdk21_headless. I noticed that that size of the container is 1.9GB. When I checkout the size of the container on Docker Hub, it's around 400MB. Do you know the reason why it is so fat when the container is built with Nix? 14:05:49
@drupol:matrix.orgPol
$ nix-build --expr 'with (import ./. {}); (gradle.override { java = jdk21_headless; })' --impure
$ nix path-info -Sh ./result
/nix/store/jnlqzimm2pqdvv2l07vj0ks3kyffgab6-gradle-8.14.3          1.9 GiB
14:06:36
@drupol:matrix.orgPolI notice that the GTK libs are included in the closure, I don't really know if this is really needed.16:28:41
@drupol:matrix.orgPol* I noticed that the GTK libs are included in the closure, I don't really know if this is really needed.16:28:45
29 Oct 2025
@raboof:matrix.orgraboofso it seems the gradle-setup-hook still depends on the 'regular' jdk21 instead of on the headless one, apparently for keytool01:04:29
@raboof:matrix.orgraboof adding .unwrapped to the expression drops the setup hook - not sure if that makes sense here though 01:09:42
@drupol:matrix.orgPol I found this yesterday late evening thanks to nix-tree indeed. I was looking for replacing it with the java version, I'm still looking... but got buried with work lately, so it might take time. 08:28:50
@drupol:matrix.orgPol
❯ nix-build --expr 'with (import ./. {}); (gradle.override { java = jdk21_headless; }).unwrapped' --impure
/nix/store/li8mr5098g4al8zaqrskxrn0w9nzkbij-gradle-8.14.3
❯ nix path-info -Sh ./result
/nix/store/li8mr5098g4al8zaqrskxrn0w9nzkbij-gradle-8.14.3          1.0 GiB
08:34:02
@drupol:matrix.orgPolThis is already a tremendous improvements, but I guess there's room for improvements.08:56:01
1 Nov 2025
@glepage:matrix.orgGaétan Lepage changed their profile picture.22:53:08
@glepage:matrix.orgGaétan Lepage changed their profile picture.22:54:09
2 Nov 2025
@amadaluzia:unredacted.orgamadaluzia joined the room.22:34:16
4 Nov 2025
@marie:marie.cologneMarieStarted working on another try for JDK 23 removal: https://github.com/NixOS/nixpkgs/pull/458428 Currently breaks basically everything which uses JavaFX on 25, I have an idea for a fix, but not sure if that works, still need to try11:17:16
5 Nov 2025
@britter:yatrix.orgBenedikt Ritter (britter)Can I get some more eyes on https://github.com/NixOS/nixpkgs/pull/455979 please?17:15:10
6 Nov 2025
@britter:yatrix.orgBenedikt Ritter (britter)👆 Anybody? 😅17:01:03
@msgilligan:matrix.orgmsgilliganSorry, Benedikt I've been busy finishing and pre-releasing my now-built-with-Nix library.19:00:57
@msgilligan:matrix.orgmsgilliganTaking a quick look now...19:03:13
@msgilligan:matrix.orgmsgilligan... and having some issues trying to run nixpkgs-review. I'll update you when it finishes running.19:39:07
@msgilligan:matrix.orgmsgilliganHave you run nixpkgs-review?19:46:14
@msgilligan:matrix.orgmsgilligan atlauncher and the two jextract packages seem to be broken at least on aarch64-linux and my aarch64-darwin build is failing for some (probably unrelated to your PR) reason. 19:49:37
@britter:yatrix.orgBenedikt Ritter (britter) Thanks for taking a look @msgilligan:matrix.org !
I'm not at my computer right now, but I don't think my change is related since it only comes into effect when you run the update deps task.
I tend to avoid running nixpkgs-review for Gradle changes if not strictly required, because it takes forever to build all those packages 😅
20:11:13
@msgilligan:matrix.orgmsgilliganI'll post a comment on the PR itself with some questions.20:14:17
7 Nov 2025
@emma:rory.gay@emma:rory.gay left the room.22:42:41
8 Nov 2025
@idkana:matrix.orgidkana joined the room.18:11:53
9 Nov 2025
@9hp71n:matrix.orgghpzin (moved to @ghpzin:envs.net) changed their display name from ghpzin to ghpzin (moved to @ghpzin:envs.net).15:03:28

Show newer messages


Back to Room ListRoom Version: 6