| 19 Jul 2025 |
vog |
- If a package provides github binary release tarballs, should I prefer those, or should I prefer fetchMavenArtifact?
| 21:46:34 |
vog | *
- 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 🏳️⚧️ | In reply to @vog:matrix.org
- 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 🏳️⚧️ | Java libraries are treated by and large like normal packages both in Nix and elsewhere | 21:55:59 |
Infinidoge 🏳️⚧️ | In reply to @vog:matrix.org
- 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 | I was just curious and thought it might be good to have some context. | 22:55:05 |
vog | Thanks! 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 | * 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 🏳️⚧️ | Makes sense to me | 22:57:32 |
| 21 Jul 2025 |
| Pol joined the room. | 15:50:24 |
| 22 Jul 2025 |
vog | Ok, I finally got around to create the PR. Please review!
https://github.com/NixOS/nixpkgs/pull/427538 | 19:18:26 |
vog | * 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 |
| dish [Fox/It/She] joined the room. | 04:23:15 |