!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

119 Members
28 Servers

Load older messages


SenderMessageTime
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
15 Jun 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".13:58:25
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".13:58:25
@grahamc:nixos.org@grahamc:nixos.org invited @fzakaria:matrix.orgfzakaria (Old).13:58:33
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.14:03:43
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.14:15:47
@joerg:bethselamin.deMic92 joined the room.14:23:40
@charlotte:vanpetegem.mechvp joined the room.14:23:42
@joerg:bethselamin.deMic92 left the room.14:23:55
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius joined the room.14:28:47
@0x4a6f:matrix.org[0x4A6F] joined the room.18:26:24
@fzakaria:matrix.orgfzakaria (Old) joined the room.23:08:49
16 Jun 2021
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.13:45:06
21 Jun 2021
@roberthensing:matrix.orgRobert Hensing (roberth) joined the room.09:46:52
24 Jun 2021
@dschrempf:matrix.orgdschrempf joined the room.12:06:47

Show newer messages


Back to Room ListRoom Version: 6