!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

133 Members
27 Servers

Load older messages


SenderMessageTime
15 Apr 2026
@britter:yatrix.orgBenedikt Ritter (britter)Do we have Maven 4 packaged already? I'm working on a derivation to package github.com/bmarwell/jfmt and it requires maven 4. Currently I'm packaging it locally, but wonder if I should contribute that.14:20:34
@britter:yatrix.orgBenedikt Ritter (britter)I guess, we don't. Would it be acceptable to add it alongside maven in by-name/ma/maven_4?17:21:49
16 Apr 2026
@britter:yatrix.orgBenedikt Ritter (britter)Okay, since nobody is screaming in opposition, I'm going to work on a PR 🫣10:31:55
17 Apr 2026
@pyrox:pyrox.devdish [Fox/It/She] changed their profile picture.16:58:37
18 Apr 2026
@alice:the-apothecary.clubAlice are all gradle plugins required to go through nixpkgs? because we are trying to build a flake we made for our local service, and we are getting

> Plugin [id: 'org.jetbrains.kotlin.jvm', version: '2.3.20'] was not found in any of the following sources:
>
> - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
> - Included Builds (No included builds contain this plugin)
> - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:2.3.20')
> Searched in the following repositories:
> Gradle Central Plugin Repository

even though building outside nix works and plugin exists?: https://mvnrepository.com/artifact/org.jetbrains.kotlin.jvm/org.jetbrains.kotlin.jvm.gradle.plugin/2.3.20
14:36:29
@alice:the-apothecary.clubAlice * are all gradle plugins required to go through nixpkgs? because we are trying to build a flake we made for our local service, and we are getting

> Plugin [id: 'org.jetbrains.kotlin.jvm', version: '2.3.20'] was not found in any of the following sources:
>
> - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
> - Included Builds (No included builds contain this plugin)
> - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:2.3.20')
> Searched in the following repositories:
> Gradle Central Plugin Repository

even though building outside nix works and plugin exists?: https://mvnrepository.com/artifact/org.jetbrains.kotlin.jvm/org.jetbrains.kotlin.jvm.gradle.plugin/2.3.20
14:36:58
@alice:the-apothecary.clubAlice * are all gradle plugins required to go through nixpkgs? because we are trying to build a flake we made for our local service, and we are getting

> Plugin [id: 'org.jetbrains.kotlin.jvm', version: '2.3.20'] was not found in any of the following sources:
>
> - Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
> - Included Builds (No included builds contain this plugin)
> - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:2.3.20')
> Searched in the following repositories:
> Gradle Central Plugin Repository

even though building outside nix works and plugin exists?: https://mvnrepository.com/artifact/org.jetbrains.kotlin.jvm/org.jetbrains.kotlin.jvm.gradle.plugin/2.3.20
14:37:16
@alice:the-apothecary.clubAlice(or we forgot how building w/ gradle works on nix?14:38:36
@alice:the-apothecary.clubAliceguess we did, uhoh14:44:44
@alice:the-apothecary.clubAlice * are all gradle plugins required to go through nixpkgs? because we are trying to build a flake we made for our local service, and we are getting
\> Plugin [id: 'org.jetbrains.kotlin.jvm', version: '2.3.20'] was not found in any of the following sources:
even though building outside nix works and plugin exists?: https://mvnrepository.com/artifact/org.jetbrains.kotlin.jvm/org.jetbrains.kotlin.jvm.gradle.plugin/2.3.20

forgot mitmCache update
14:53:50
@alice:the-apothecary.clubAlice also, are we understanding it correctly, that openjdk dpends on gtk+3? that's confusing, why? 15:01:21
@alice:the-apothecary.clubAliceclipboard.png
Download clipboard.png
15:01:22
@britter:yatrix.orgBenedikt Ritter (britter)I wrote about Gradle build support a while ago, maybe this helps? https://britter.dev/blog/2025/01/02/gradle-nix/15:41:39
@britter:yatrix.orgBenedikt Ritter (britter)Not exactly sure why. Maybe for AWT / Swing? You can try building with jdk21_headless if you dont need desktop code.15:42:52
@alice:the-apothecary.clubAlicewell, it's not untrue that headless variant is for headless operation, but it is still kinda weird that non-headless version depends on non-jvm desktop code?15:47:35
@ami:the-apothecary.clubAmipretty sure it could've been an optional dependency, but nix doesn't really have such a concept17:14:12
@msgilligan:matrix.orgmsgilliganI think overrides are the Nix way of doing ā€œoptionalā€ dependencies17:15:30
@msgilligan:matrix.orgmsgilligan(i.e. build-time rather than run-time)17:22:04
@alice:the-apothecary.clubAlice well, there are 3 -times, no? build-time install-time run-time? or for nix installation(/evaluation?) just runtime? 17:39:12
@samasaur:matrix.orgsamasaur yea if you want no gtk you can do openjdk.override { enableGtk = false }, or use headless which also turns off jdk 17:43:45
@samasaur:matrix.orgsamasaurthere's not really the traditional install-time17:44:46
@alice:the-apothecary.clubAlicewell, making a derivation(?) doesn't mentally fit into either runtime nor build time to us?17:46:00
@samasaur:matrix.orgsamasaurbuilding a derivation ~= traditional build time and install time17:47:45
@samasaur:matrix.orgsamasaurmore or less17:47:50
@alice:the-apothecary.clubAlicehmm, where would that go?18:01:41
@samasaur:matrix.orgsamasaurare you referencing openjdk directly or is it a dependency of something?18:04:19
@alice:the-apothecary.clubAliceit's a gradle build18:04:29
@samasaur:matrix.orgsamasaurso the latter?18:05:16
@samasaur:matrix.orgsamasaur like in your nix config you're not ever referencing openjdk 18:05:28
@alice:the-apothecary.clubAliceyes (well, in the project flake)18:05:55

Show newer messages


Back to Room ListRoom Version: 6