!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

129 Members
28 Servers

Load older messages


SenderMessageTime
25 Nov 2024
@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
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️While it would be slightly unorthodox to include in the base package, I think it would be nice to support02:59:42
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Maybe we could Be The Change and convince JDK to start doing this in general03:00:00
@nullcube:matrix.org@nullcube:matrix.org joined the room.09:59:00
@fliegendewurst:matrix.orgFliegendeWurst

Did anyone see this kind of build failure for openjdk8 before?

zip I/O error: No such file or directory
zip error: Could not create output file (was replacing the original zip file)
make[2]: *** [CreateJars.gmk:659: /build/source/build/linux-x86_64-normal-server-release/images/src.zip] Error 1

(it occurs on the staging branch)

11:49:00
@emilazy:matrix.orgemilyyou're probably just gonna have to bisect it11:50:30
@emilazy:matrix.orgemily have you tested with .override { stdenv = gcc13Stdenv; } though? 11:50:37
@fliegendewurst:matrix.orgFliegendeWurst
In reply to @emilazy:matrix.org
have you tested with .override { stdenv = gcc13Stdenv; } though?
yes, same error
14:02:44
@emilazy:matrix.orgemilyexcitin14:02:59
@emilazy:matrix.orgemily * exciting14:03:00
@emilazy:matrix.orgemilywas the zip package touched?14:03:07
@fliegendewurst:matrix.orgFliegendeWurstin May14:03:32
@emilazy:matrix.orgemilyhm14:04:21
@emilazy:matrix.orgemilyit might be bisect time :)14:04:23
@emilazy:matrix.orgemily git bisect start --first-parent staging && git bisect run nix build -f . openjdk8, say 14:05:00
@emilazy:matrix.orgemily(and be prepared to skip commits…)14:05:10
@fliegendewurst:matrix.orgFliegendeWurstyeah, but it will be a bit annoying for me. I built my prev. staging iterations with strictDepsByDefault14:05:55
@fliegendewurst:matrix.orgFliegendeWurstso I either constantly backport those fixes, or rebuild everything without the setting14:06:08
@fliegendewurst:matrix.orgFliegendeWurstthen again, a bisect on staging will rebuild everything very often anyway14:06:19
@emilazy:matrix.orgemily are there strictDeps fixes in the pipeline? :) 14:06:46
@emilazy:matrix.orgemilyor already merged?14:06:48
@fliegendewurst:matrix.orgFliegendeWurstyes https://github.com/NixOS/nixpkgs/pull/355844 not merged14:07:00
@fliegendewurst:matrix.orgFliegendeWurstsome are a bit fishy, like including wayland-scanner in buildInputs only to please the ./configure script14:07:56

Show newer messages


Back to Room ListRoom Version: 6