| 27 May 2026 |
Benedikt Ritter (britter) | Sounds great! | 17:18:54 |
| 28 May 2026 |
msgilligan |
Cannot deploy artifacts when Maven is in offline mode
Why not, Maven? I'm deploying to a local directory.
| 21:22:58 |
Infinidoge 🏳️⚧️ | At what point do we reach "Reimplement Maven's protocol as a dummy local directory that pretends to be online" territory | 21:23:59 |
msgilligan | This point! I feel I'm kinda at that point... | 21:24:33 |
msgilligan | But I think we might be able to get the bare minimum without going quite so far. | 21:25:21 |
msgilligan | I've been experimenting with using mvn deploy (using a local directory as the destination) in derivations using buildMavenPackage. In order to do this I need two new parameters to buildMavenPackage: mvnGoal and mvnOffline (which default to package and true.)
These two parameters (and sometimes the existing mvnParameters) are needed to use ``buildMavenPackagewith thedeploy` goal.
I made a PR that adds the two parameters: https://github.com/NixOS/nixpkgs/pull/525382
| 23:25:59 |
msgilligan | The idea is to generate output in Maven repo layout for publishing to Maven Central or for using in other derivations. | 23:33:33 |
| 29 May 2026 |
Benedikt Ritter (britter) | Why does running deploy to a local dir require online mode? 🤔 | 05:46:43 |
Infinidoge 🏳️⚧️ | Maven is a bit silly | 05:47:56 |
msgilligan | I feel like we should give some input and possibly even a few PRs upstream to Maven (and/or Ant!) | 15:10:37 |
msgilligan | Can someone please review or merge my simple bug-fix for jextract on Darwin? | 16:03:22 |
| 31 May 2026 |
msgilligan | Merged! Now we can remove the unmaintained/obsolete jextract-21: https://github.com/NixOS/nixpkgs/pull/519958 | 16:17:51 |
dish [Fox/It/She] | cheers, merged | 18:07:38 |
msgilligan | Thanks, but I did a GitHub search after my last comment and found a project (chisel) using jextract-21. So maybe we shouldn't have removed it and give a warning instead. (It looks like swapping the JDK 25 version would break them, so the warnAlias would not be good for them.) | 18:11:02 |
msgilligan | * Thanks, but I did a GitHub search after my last comment and found a project (chisel) using jextract-21. So maybe we shouldn't have removed it and should give a warning instead. (It looks like swapping the JDK 25 version would break them, so the warnAlias would not be good for them.) | 18:14:43 |
msgilligan | I can make a PR to revert the change and add a warning upon use. Should I do that? | 18:17:25 |
msgilligan | People really shouldn't be using jextract-21 though. It's an early-access build supporting a preview feature (FFM/Panama) of the JDK that didn't finalize until JDK 22 and is only supported by OpenJDK in version 25 and later. So we probably did the right thing. | 18:36:16 |
Infinidoge 🏳️⚧️ | I don't think it's worth reverting a good change for an outside project, unless it is a widespread dependency | 18:37:50 |
Infinidoge 🏳️⚧️ | (Java 8 being the easiest example) | 18:37:57 |
Infinidoge 🏳️⚧️ | Projects pin Nixpkgs for a reason after all, they'll likely update to jextract 25 or stick with old Nixpkgs | 18:38:37 |
msgilligan | And we're struggling to properly maintain one jextract package properly. | 18:39:29 |
msgilligan | * And we're struggling to maintain one jextract package properly. | 18:39:45 |
dish [Fox/It/She] | yeah i would say leave the change | 18:54:27 |
msgilligan | PR 519191 brings jextract up-to-date with the current (JDK 25-based) build from OpenJDK. | 19:17:38 |
dish [Fox/It/She] | merged | 19:24:28 |
| 1 Jun 2026 |
msgilligan | For jextract, I opened PRs to backport the darwin fix and 0-unstable-2025-11-12 update>
To release-25.11:
- https://github.com/NixOS/nixpkgs/pull/526579
- https://github.com/NixOS/nixpkgs/pull/526580
And to release-26.05:
- https://github.com/NixOS/nixpkgs/pull/526581
- https://github.com/NixOS/nixpkgs/pull/526587
| 02:46:20 |
msgilligan | * For jextract, I opened PRs to backport the darwin fix and 0-unstable-2025-11-12 update.
To release-25.11:
- https://github.com/NixOS/nixpkgs/pull/526579
- https://github.com/NixOS/nixpkgs/pull/526580
And to release-26.05:
- https://github.com/NixOS/nixpkgs/pull/526581
- https://github.com/NixOS/nixpkgs/pull/526587
| 02:46:41 |
msgilligan | This will also help (especially on Darwin) users migrate away from jextract-21 | 02:49:28 |
msgilligan | * For jextract, I opened PRs to backport the darwin fix and 0-unstable-2025-11-12 update.
To release-25.11:
- https://github.com/NixOS/nixpkgs/pull/526579 - merged ✅
- https://github.com/NixOS/nixpkgs/pull/526580
And to release-26.05:
- https://github.com/NixOS/nixpkgs/pull/526581
- https://github.com/NixOS/nixpkgs/pull/526587
| 03:06:10 |
msgilligan | * For jextract, I opened PRs to backport the darwin fix and 0-unstable-2025-11-12 update.
To release-25.11:
- https://github.com/NixOS/nixpkgs/pull/526579 - merged ✅
- https://github.com/NixOS/nixpkgs/pull/526580
And to release-26.05:
- https://github.com/NixOS/nixpkgs/pull/526581 - merged ✅
- https://github.com/NixOS/nixpkgs/pull/526587
| 03:23:42 |