!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

142 Members
32 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
24 Nov 2024
@fliegendewurst:matrix.orgFliegendeWurstThe binfmt hooks seem only marginally useful to me. The .class one only really works if the class depends solely on its own package.22:34:11
@tomodachi94:matrix.orgTomodachi94 (they/them)For starters I'll add it to our ci/OWNERS section, then we can change in-tree consumers to the makeWrapper pattern later22:36:37
@tomodachi94:matrix.orgTomodachi94 (they/them)https://github.com/NixOS/nixpkgs/pull/35884022:55:02
25 Nov 2024
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@tomodachi94:matrix.org
I'm going to look into which of our packages use Gradle 7 and try updating or submitting patches for a newer Gradle, to hopefully make the future deprecation of Gradle 7 smoother
Made a tracking issue for this, so our future drop+upgrade can go much smoother than the gradle_6 one: https://github.com/NixOS/nixpkgs/issues/358845
00:11:01
@tomodachi94:matrix.orgTomodachi94 (they/them)* Made a tracking issue for this, so our future drop+upgrade can go even smoother than the gradle_6 one: https://github.com/NixOS/nixpkgs/issues/35884500:31:03
@ami:the-apothecary.clubAmi
In reply to @tomodachi94:matrix.org
Wondering if we should drop the programs.java NixOS module, since it's impure and only has two in-tree consumers (packages should make a wrapper that calls jdk/jre, developers should be using devShells)
i haven't looked at what it does or what needs those changes, but i do use plain java commands at times, sometimes for development, sometimes to run some jar that most likely doesn't have a nixpkgs equivalent
01:53:28
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@ami:the-apothecary.club
i haven't looked at what it does or what needs those changes, but i do use plain java commands at times, sometimes for development, sometimes to run some jar that most likely doesn't have a nixpkgs equivalent
Looks like the Jenkins and Bloop modules only afaict
02:03:22
@tomodachi94:matrix.orgTomodachi94 (they/them)I'll probably update those later tonight, along with updating packages which have patches released for Gradle 802:15:27
@ami:the-apothecary.clubAmispeaking of running plain java commands, is there any "good" way to use multiple java versions in the same environment, or at least get something similar to that? the most obvious answer to me seems like using nix-shell in one way or another02:23:14
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@ami:the-apothecary.club
speaking of running plain java commands, is there any "good" way to use multiple java versions in the same environment, or at least get something similar to that? the most obvious answer to me seems like using nix-shell in one way or another
I don't think there's anything built-in, but my first thought was somehow prefixing the executables. Symlinks maybe?
02:25:10
@tomodachi94:matrix.orgTomodachi94 (they/them)(We could also introduce "prefixed" packages; we have one for coreutils for example, so it's not unprecedented)02:25:44
@tomodachi94:matrix.orgTomodachi94 (they/them)* I don't think there's anything built-in, but my first thought was somehow prefixing the names of the executables. Symlinks maybe?02:26:18
@ami:the-apothecary.clubAmi in terms of what i'd prefer to type in my shell, it'd be something like java8 -jar whatever.jar 02:28:46
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Python type beat02:58:10

Show newer messages


Back to Room ListRoom Version: 6