Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Latest commit

 

History

History
38 lines (27 loc) · 859 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 859 Bytes

Raku-Nix

This repository houses Nix support for Raku.

Ecosystem

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.

Usage

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.