A Nix flake packaging the Zig compiler, providing easy access to released and nightly versions.
Zig-overlay is a Nix flake that packages the Zig compiler for the Nix package manager. It provides easy access to both stable releases and nightly builds of Zig by mirroring the official binaries, eliminating the need to compile from source. This allows developers to quickly switch between Zig versions within Nix-based workflows.
Nix users who need to manage Zig compiler versions in their development environments, particularly those working on Zig projects or contributing to the Zig compiler itself.
It offers a reliable, reproducible way to install Zig via Nix, with support for multiple versions and nightly builds, without the complexity of building from source. The included development template simplifies setting up environments for Zig compiler contributions.
Nix flake for the Zig compiler.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers access to specific tagged releases, latest stable, and nightly builds including dated versions, enabling easy version switching as shown in the usage examples.
Downloads pre-built Zig binaries from official sources, ensuring reliability and avoiding compilation overhead, as stated in the README's philosophy.
Includes an overlay that adds zigpkgs for easy integration into Nix configurations, supporting both flakes and traditional usage via default.nix.
Provides a template to set up a development environment for contributing to the Zig compiler, simplifying the process with commands like 'nix flake init'.
Nightly releases can be missing if Zig's CI fails or if the overlay wasn't running, as acknowledged in the FAQ, leading to gaps in availability.
Requires users to be familiar with Nix and flakes, adding complexity for those not already invested in the ecosystem, limiting its appeal outside Nix users.
Only includes nightly builds from 2021 onwards, with missing dates predating the overlay, restricting access to older versions as noted in the FAQ.