!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

121 Members
27 Servers

Load older messages


SenderMessageTime
19 Jul 2025
@vog:matrix.orgvogCrazy idea: What if we make junixsocket, perhaps just the two parts "junixsocket-common" and "junixsocket-native-common", a dependency on postgresql_jdbc? That way, every Nix package that uses pkgs.postgresql_jdbc would automatically have support for unix sockets.20:41:12
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Not particularly crazy, a lot of packages do stuff like that, only skipping it if the optional dependency os extremely heavy20:41:57
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️* Not particularly crazy, a lot of packages do stuff like that, only skipping it if the optional dependency is extremely heavy20:42:15
@vog:matrix.orgvogSo would it make sense if I propose a pull request for exactly that? Or would that be doomed to be rejected? (In which case I'd work on a less intrusive solution instead)20:43:03
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Most PRs are usually doomed to inactivity instead of rejection20:43:37
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️This change makes perfect sense to me so I say go for it20:44:00
@vog:matrix.orgvogI'm a bit confused about java package conventions, though. So continuing my list of questions:21:32:58
@vog:matrix.orgvog
  1. Java libraries are not meant to be added to javaPackages, at least libraries like postgresql_jdbc and jogl are not. Is this intentional, or a bug?
21:33:42
@vog:matrix.orgvog 3 .Java libraries are put into by-name/.../, contrary to what is usual in other languages within Nix (e.g. ocamlPackages, etc.). Should I follow that convention? 21:34:59
@vog:matrix.orgvog *
  1. Java libraries are put into by-name/.../, contrary to what is usual in other languages within Nix (e.g. ocamlPackages, etc.). Should I follow that convention?
21:35:09
@vog:matrix.orgvog
  1. If a package provides github binary release tarballs, should I prefer those, or should I prefer fetchMavenArtifact?
21:46:34
@vog:matrix.orgvog *
  1. Java libraries are not meant to be added to javaPackages, at least libraries like postgresql_jdbc and jogl are not. Is this intentional, or a bug?
21:47:17
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️
In reply to @vog:matrix.org
  1. Java libraries are put into by-name/.../, contrary to what is usual in other languages within Nix (e.g. ocamlPackages, etc.). Should I follow that convention?
Java libraries are a bit different because they aren't notably intertwined with each other, while languages like ocaml and python have a very intertwined library ecosystem
21:55:35
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Java libraries are treated by and large like normal packages both in Nix and elsewhere21:55:59
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️
In reply to @vog:matrix.org
  1. Java libraries are not meant to be added to javaPackages, at least libraries like postgresql_jdbc and jogl are not. Is this intentional, or a bug?
As far as I can tell javaPackages only has openjfx nowadays, and that will likely be moved out later on when separated from the jdk itself
21:57:58
@msgilligan:matrix.orgmsgilliganI was just curious and thought it might be good to have some context.22:55:05
@vog:matrix.orgvogThanks! Regarding my last question, I decided to prefer fetchMavenArtifact, for the simple pragmatic reason that it allows me to easier reference to the sub libraries (junitsocket-common, etc.) separately.22:56:48
@vog:matrix.orgvog * Infinidoge 🏳️‍⚧️: Thanks for your responses! Regarding my last question, I decided to prefer fetchMavenArtifact, for the simple pragmatic reason that it allows me to easier reference to the sub libraries (junitsocket-common, etc.) separately. 22:57:19
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️Makes sense to me22:57:32
21 Jul 2025
@drupol:matrix.orgPol joined the room.15:50:24
22 Jul 2025
@vog:matrix.orgvogOk, I finally got around to create the PR. Please review! https://github.com/NixOS/nixpkgs/pull/42753819:18:26
@vog:matrix.orgvog *

Infinidoge 🏳️‍⚧️: Ok, I finally got around to create the PR. Please review!

https://github.com/NixOS/nixpkgs/pull/427538

19:23:23
23 Jul 2025
@pyrox:pyrox.devdish [Fox/It/She] joined the room.04:23:15
@pyrox:pyrox.devdish [Fox/It/She]https://github.com/nixos/nixpkgs/pull/422045 heyo folks, looking for reviews from java maintainers and team on this PR on behalf of the person who opened it(who isn't a matrix user). I'm not a java, expert, and the changes look good to me, but would like more experienced eyes to take a look at it. Thanks so much if anyone does review!04:25:35
@pyrox:pyrox.devdish [Fox/It/She]* https://github.com/nixos/nixpkgs/pull/422045 heyo folks, looking for reviews from java maintainers and team(mostly just more experienced java folks) on this PR on behalf of the person who opened it(who isn't a matrix user). I'm not a java expert, and the changes look good to me, but would like more experienced eyes to take a look at it. Thanks so much if anyone does review!04:27:48
@emilazy:matrix.orgemilyhmm, is that policy we should be deciding ourselves, rather than the user?12:48:21
@emilazy:matrix.orgemilywe don't bake fontconfig settings into leaf packages12:48:26
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/issues/422043 ah, it does allow overriding like this12:49:01
@pyrox:pyrox.devdish [Fox/It/She]i believe the reason for the pr is so that we allow user overriding but have a sensible default12:49:16
@emilazy:matrix.orgemilyright12:49:34

Show newer messages


Back to Room ListRoom Version: 6