!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

114 Members
25 Servers

Load older messages


SenderMessageTime
17 Oct 2025
@emilazy:matrix.orgemilydo we need even more JDKs? I guess this could replace Semeru?11:24:12
@emilazy:matrix.orgemilyI 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 nice11:24:57
@emilazy:matrix.orgemilywhich reminds me I should do something about Zulu 😅11:26:55
@marie:marie.cologneMarie I think OpenJ9 has more value than random jdk build #42, and yes it could replace semeru 11:47:08
@emilazy:matrix.orgemilyyeah, I could live with Temurin + OpenJDK + OpenJ9 + GraalVM :)13:26:40
@msgilligan:matrix.orgmsgilliganBTW, I’ve been getting pretty good results with OpenJDK25 (Zulu on Darwin) and GraalVM-CE 2513:34:21
@msgilligan:matrix.orgmsgilligan 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:matrix.orgmsgilliganI’m happy to finally be on an LTS for FFM (Panama)13:37:17
18 Oct 2025
@ihar.hrachyshka:matrix.org@ihar.hrachyshka:matrix.org left the room.00:12:31
22 Oct 2025
@cortsf:matrix.orgcortsf joined the room.01:16:11
@britter:yatrix.orgBenedikt 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:one.ems.hostfzakariaAny example of sbt builds in nixpkgs ?21:11:24
@fzakaria:one.ems.hostfzakariai want to fix something that downloads binary to build from source21:11:45
24 Oct 2025
@britter:yatrix.orgBenedikt 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
@britter:yatrix.orgBenedikt 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/38311515:46:35
@britter:yatrix.orgBenedikt Ritter (britter)Downgrading to Gradle 8 doesn't change things 🤔15:49:46
@britter:yatrix.orgBenedikt 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
@britter:yatrix.orgBenedikt 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#L515:58:12
@britter:yatrix.orgBenedikt 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
@britter:yatrix.orgBenedikt 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
@britter:yatrix.orgBenedikt 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/38311516:49:25
@britter:yatrix.orgBenedikt Ritter (britter)I guess a quick fix would be to run the update command with --no-configuration-cache16:54:52
@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

Show newer messages


Back to Room ListRoom Version: 6