/zigpkgs

A collection of zig packages built with Nix

Primary LanguageNixMIT LicenseMIT

zigpkgs

A collection of Zig packages built with Nix

For a list of all packages, see flake.nix.

Usage

Using flakes (recommended)

Try out a package in a nix shell environment:

nix shell github:joachimschmidt557/zigpkgs#zigmod

Install a package into your profile:

nix profile install github:joachimschmidt557/zigpkgs#zls

No flake support

Install a package into your profile:

nix-env -f https://github.com/joachimschmidt557/zigpkgs/archive/trunk.tar.gz -iA packages.x86_64-linux.zls

Cachix support

All packages in the collection are built on every push to the trunk branch and pushed to a Cachix cache via GitHub Actions. It is possible to add this cache to your Nix configuration so that Nix doesn't need to build every package from scratch. See the Cachix docs for more information.

cachix add zigpkgs