!aRKdLCkUeIFjRPZuJT:nixos.org

NixOS JVM

119 Members
26 Servers

Load older messages


SenderMessageTime
17 Sep 2025
@tomodachi94:matrix.orgTomodachi94 (they/them)Also add that the original ant-contrib has had no updates since... 200[4-9] iirc?03:43:24
@tomodachi94:matrix.orgTomodachi94 (they/them)(There are some active forks that we could package if anything in-tree ends up needing it)15:21:15
@tomodachi94:matrix.orgTomodachi94 (they/them) * 16:43:09
@msgilligan:matrix.orgmsgilliganThere's probably some Java interoperability component that is built with Ant. Ideally these things would be in separate derivations with Swift and Ant as inputs, right?18:27:57
@msgilligan:matrix.orgmsgilligan graalvm-oracle_25 is now the default graalvm-oracle. PR to drop graalvm-oracle_24 is ready-for-review:
https://github.com/NixOS/nixpkgs/pull/443634
18:30:02
@msgilligan:matrix.orgmsgilligan emily is always quick to review/merge the PRs that drop JDKs 😁 18:30:43
@emilazy:matrix.orgemilymy weakness…18:41:42
@emilazy:matrix.orgemilywow beaten to it…18:41:58
@msgilligan:matrix.orgmsgilliganI view it as a strength!18:42:43
@msgilligan:matrix.orgmsgilliganI'm hoping that getting the new versions merged earlier will help us get the old versions removed faster.18:59:46
@msgilligan:matrix.orgmsgilligan I fixed the nixpkgs-vet error about new top-level package using pkgs.callPackage in the zulu25 PR: https://github.com/NixOS/nixpkgs/pull/443517/commits/f65e6c648d89794fc801d95280355dcca779f990 19:54:01
@msgilligan:matrix.orgmsgilligan This is my first time refactoring usage of callPackage so I'm not sure I did it right, but it looks reasonably clean and seems to work, so please take a look and let me know if I got it right. 19:56:19
@emilazy:matrix.orgemily you can inherit ({ zulu8 = callPackage …; … }) zulu8 …; 19:56:35
@emilazy:matrix.orgemily(yes it's silly)19:56:37
@msgilligan:matrix.orgmsgilligan in the new default.nix? That seems more verbose, is there an advantage to doing it that way? 19:58:47
@emilazy:matrix.orgemily no, in all-packages.nix 20:00:53
@emilazy:matrix.orgemily it's just the officially-sanctioned hack for when there is an existing multi-version package outside of by-name 20:01:04
@msgilligan:matrix.orgmsgilligan Oh, I see other instances of this patter in all-packages.nix. I'll fix it! 20:02:59
@msgilligan:matrix.orgmsgilligan

So like this:

  inherit (callPackage ../development/compilers/zulu { })
    zulu8
    zulu11
    zulu17
    zulu21
    zulu23
    zulu24
    zulu25
    ;
  zulu = zulu21;

?

20:10:10
@emilazy:matrix.orgemily what i mean is you don't need the default.nix at all 20:13:25
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/README.md#recommendation-for-new-packages-with-multiple-versions20:14:02
@emilazy:matrix.orgemily you can literally just inherit ({ … }) …; in all-packages.nix 20:14:12
@emilazy:matrix.orgemilyit is silly, but it is the sanctioned workaround20:14:23
@emilazy:matrix.orgemily the "nice" solution is to do a version-generic package in by-name like I did for OpenJFX but it's more work 20:14:38
@msgilligan:matrix.orgmsgilliganOK, here we go: https://github.com/NixOS/nixpkgs/pull/443517/commits/a0234222be9339562870af5e02c1c0adc9529ade20:27:52
@msgilligan:matrix.orgmsgilliganI this PR? https://github.com/NixOS/nixpkgs/pull/350736/20:32:40
@msgilligan:matrix.orgmsgilligan* In this PR? https://github.com/NixOS/nixpkgs/pull/350736/20:32:53
@msgilligan:matrix.orgmsgilliganRedacted or Malformed Event20:33:43
@emilazy:matrix.orgemilyyeah20:35:18
@msgilligan:matrix.orgmsgilligan (I need to get in the habit of running nix fmt before pushing...) 20:41:28

Show newer messages


Back to Room ListRoom Version: 6