| 17 Oct 2025 |
emily | do we need even more JDKs? I guess this could replace Semeru? | 11:24:12 |
emily | I am always beating this drum, but we have so many that nobody is using and that don't get timely security updates... but if it can replace a binary distro that would be nice | 11:24:57 |
emily | which reminds me I should do something about Zulu 😅 | 11:26:55 |
Marie | I think OpenJ9 has more value than random jdk build #42, and yes it could replace semeru | 11:47:08 |
emily | yeah, I could live with Temurin + OpenJDK + OpenJ9 + GraalVM :) | 13:26:40 |
msgilligan | BTW, I’ve been getting pretty good results with OpenJDK25 (Zulu on Darwin) and GraalVM-CE 25 | 13:34:21 |
msgilligan | We did find a bug in jpackage (but in a non-Nix build on old Ubuntu) that we are waiting for a fix in 25.0.2. | 13:36:15 |
msgilligan | I’m happy to finally be on an LTS for FFM (Panama) | 13:37:17 |
| 18 Oct 2025 |
| @ihar.hrachyshka:matrix.org left the room. | 00:12:31 |
| 22 Oct 2025 |
| cortsf joined the room. | 01:16:11 |
Benedikt Ritter (britter) | Does anybody know where IntellJ stores global configs? I'd love to have a home manager module that I can use to manage my most common configs. | 11:42:40 |
| 23 Oct 2025 |
fzakaria | Any example of sbt builds in nixpkgs ? | 21:11:24 |
fzakaria | i want to fix something that downloads binary to build from source | 21:11:45 |
| 24 Oct 2025 |
Benedikt Ritter (britter) | I'm not aware of any, but curious to look at examples if anybody has one. What does rg sbt yield? | 18:34:59 |
| 26 Oct 2025 |
Benedikt Ritter (britter) | Has anybody tried to package a Gradle 9 application with nixpkgs Gradle build support yet? I'm seeing it fail for a project generated with gradle init on Gradle 9 and I suspect it's simply not working at all. So it looks like this will finally push me to revive https://github.com/NixOS/nixpkgs/pull/383115 | 15:46:35 |
Benedikt Ritter (britter) | Downgrading to Gradle 8 doesn't change things 🤔 | 15:49:46 |
Benedikt Ritter (britter) | Here's what I'm seeing:
* Where:
Initialization script '/nix/store/wdw15x3256w3gv7jkjmaz211q3344xvc-init-deps.gradle' line: 5
* What went wrong:
Execution failed for task ':app:nixDownloadDeps'.
> Could not get unknown property 'configurations' for task ':app:nixDownloadDeps' of type org.gradle.api.DefaultTask.
| 15:57:31 |
Benedikt Ritter (britter) | It seems to try to resolve configurations which is a reference to the implicit project reference on the task instance that is configured here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/tools/build-managers/gradle/init-deps.gradle#L5 | 15:58:12 |
Benedikt Ritter (britter) | Okay, I'm trying Gradle 7 now. I know this works because I have another package in my nix config that is built that way. | 16:11:21 |
Benedikt Ritter (britter) | Since we have multiple packages in nixpkgs that build with Gradle 8, this has to be something about my setup. | 16:41:09 |
Benedikt Ritter (britter) | Okay, I got to the bottom of this. It was caused by the configuration cache being turned on. So the init script generated by gradle build support in nixpkgs doesn't work when configuration cache is turned on. So yeah, I need to get back to https://github.com/NixOS/nixpkgs/pull/383115 | 16:49:25 |
Benedikt Ritter (britter) | I guess a quick fix would be to run the update command with --no-configuration-cache | 16:54:52 |
Benedikt Ritter (britter) | Fix https://github.com/NixOS/nixpkgs/pull/455979 | 19:07:00 |
| 27 Oct 2025 |
Benedikt Ritter (britter) | Does anybody have an opinion on https://github.com/NixOS/nixpkgs/pull/449037? | 19:32:25 |
Benedikt 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 |
| Pol joined the room. | 14:01:39 |
Pol | 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 |
Pol | * 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 |
Pol | $ 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 |
Pol | I notice that the GTK libs are included in the closure, I don't really know if this is really needed. | 16:28:41 |