~raboof/nix-jabba

conveniently fetch binary java distributions in nix
f5312599 — Arnout Engelen 2 months ago
also patchelf $out/jre/bin/*
6216675a — Arnout Engelen 2 months ago
Narrator: the wildcard didn't work
63970231 — Arnout Engelen 2 months ago
Update

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~raboof/nix-jabba
read/write
git@git.sr.ht:~raboof/nix-jabba

You can also use your local clone with git send-email.

#nix-jabba

For development purposes it can be convenient to test against various specific JDK versions. This project provides a convenient way to quickly fetch many of the JDK's provided by 'jabba'.

#usage

From nix-shell:

{ pkgs ? import <nixpkgs> {} }:

let
  jabba = pkgs.callPackage (fetchGit {
    url = "https://git.sr.ht/~raboof/nix-jabba";
    ref = "main";
  }) { };
in
pkgs.mkShell {
  name = "nix-jabba-demo";
  buildInputs = [
    jabba.adopt."1.14.0-2"
  ];
}