This repository houses Nix support for Raku.
In the ecosystem directory you can find Nix expressions for existing Raku packages. These are exported from default.nix as well.
These are generated by tools/generate-nix.pl, using information collected by CRAI.
Note: CRAI appears to be gone, so autocreation isn't happening anymore.
Currently these instructions assume you are experienced with Nix. More handholding may follow later (also: PRs welcome).
Obtain raku-nix using fetchTarball as usual, and import it:
let
pkgs = /* … */;
raku-nix = import /* … */ {inherit pkgs;};
in
/* … */
Now you can define your project with the raku-nix.rakuPackage function. For an example, see example/default.nix.