!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

130 Members
27 Servers

Load older messages


SenderMessageTime
16 Dec 2024
@fliegendewurst:matrix.orgFliegendeWurstbut it's in some Gradle build20:17:56
@tomasajt:matrix.orgTomaNIX_CFLAGS_COMPILE is usually the dirty way to do it21:15:06
@fliegendewurst:matrix.orgFliegendeWurstThat works :)22:53:55
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️The lesson being too CFLAGS even harder22:54:33
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️* The lesson being to CFLAGS even harder22:54:48
@fliegendewurst:matrix.orgFliegendeWursthttps://github.com/NixOS/nixpkgs/pull/36572423:07:25
18 Dec 2024
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@fliegendewurst:matrix.org
https://github.com/NixOS/nixpkgs/pull/365724
CMAKECXXFLAGS might be the CMake-blessed way?
00:02:13
@tomodachi94:matrix.orgTomodachi94 (they/them) CMAKE_CXX_FLAGS might be the CMake-blessed way? 00:02:26
@fliegendewurst:matrix.orgFliegendeWurst Doesn't work here. The build error happens in a gradle build 08:27:07
19 Dec 2024
@jlesquembre:matrix.orgjlesquembre hi, is it now the convention to point the default jdk to the latest LTS version? I'm asking because if that is now the case, there are a couple of packages that could be moved from all-packages.nix to the new by-name layout. 12:50:58
@tomodachi94:matrix.orgTomodachi94 (they/them)
In reply to@jlesquembre:matrix.org
hi, is it now the convention to point the default jdk to the latest LTS version? I'm asking because if that is now the case, there are a couple of packages that could be moved from all-packages.nix to the new by-name layout.
Sometimes that's done on purpose when the package doesn't support a newer Java version
15:36:01
@jlesquembre:matrix.orgjlesquembre My question is more about the jdk derivation. Previously, it pointed to the latest JDK (LTS or not). Following that pattern, jdk should point to JDK 23, but currently points to JDK 21. Has this changed, and is it now intentionally pointing to the LTS version? 16:35:29
@tomodachi94:matrix.orgTomodachi94 (they/them) Iirc the consensus was that non-LTS versions end support quickly, so we're avoiding packaging them. @emily had opinions about this iirc 18:58:07
@tomodachi94:matrix.orgTomodachi94 (they/them)Would be good to write this down somewhere haha18:58:15
@tomodachi94:matrix.orgTomodachi94 (they/them) Iirc the consensus was that non-LTS versions end support quickly, so we're avoiding packaging them/relying on them too heavily. @emily had opinions about this iirc 18:59:20
@tomodachi94:matrix.orgTomodachi94 (they/them)LTS was mentioned here, but this was in reference to pinning to non-LTS versions: https://matrix.to/#/#jvm:nixos.org/$RDRtYHOcrafUGoMpg3gaQTdWJ9U8QA-KvFz3EEPwT5Y19:00:19
@tomodachi94:matrix.orgTomodachi94 (they/them) Iirc the consensus was that non-LTS versions end support quickly, so we're avoiding relying on them too heavily. @emily had opinions about this iirc 19:00:31
@tomodachi94:matrix.orgTomodachi94 (they/them)I think using latest LTS by default is the best thing to do support-wise (but keeping brand-new versions available for developers or packages needing new features would be good)19:06:33
@tomodachi94:matrix.orgTomodachi94 (they/them)The funny thing with Java is that newer versions can compile to bytecode that is compatible with older Java versions (up to a certain limit; support in latest for compiling to Java 8 was on its way out, last I checked)19:27:43
@tomodachi94:matrix.orgTomodachi94 (they/them)(e.g. https://stackoverflow.com/a/33483644/14508745)19:31:17
20 Dec 2024
@frederic:scs.ems.hostFrédéric Christ 🌴 16.09. - 30.09. changed their display name from Frédéric Christ to Frédéric Christ 🎄23.12. - 07.01..13:02:59
@xiaoxiangmoe:matrix.org🐰 xiaoxiangmoe joined the room.13:58:46
@nbathum:matrix.orgnbathumanyone else use IntelliJ IDEA and gradle? I finally got annoyed with working around the disconnect between building with wrapper and inside IDEA.20:38:11
@nbathum:matrix.orgnbathum since gradle.override { javaToolchains = [ pkgs.openjdk21 ]; } is nice I put a small PR up that also writes the toolchains into $out/lib/gradle/gradle.properties 20:39:29
26 Dec 2024
@10leej:matrix.orgnevoyu joined the room.01:41:08
@10leej:matrix.orgnevoyu left the room.01:41:56
@lorenzleutgeb:matrix.orgLorenz Leutgeb changed their display name from Lorenz Leutgeb to Lorenz Leutgeb (📞6343).19:33:39
@lorenzleutgeb:matrix.orgLorenz Leutgeb changed their display name from Lorenz Leutgeb (📞6343) to Lorenz Leutgeb 📞6343.19:36:55
27 Dec 2024
@emilazy:matrix.orgemilyit was pointing to the LTS before anything I did13:00:35
@emilazy:matrix.orgemily(it was on 21 but 22 was packaged)13:00:43

Show newer messages


Back to Room ListRoom Version: 6