dit7ya / zig.nix

A collection of Nix utilities for Zig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zig.nix

A collection of Nix utilities for working with Zig in Nix/NixOS.

Contents

  • A Nix overlay; provides additional Zig versions not currently in nixpkgs

Cachix

As part of a NixOS configuration;

config.nix.settings = {
  substituters = [
    "https://willruggiano.cachix.org"
  ];
  trusted-public-keys = [
    "willruggiano.cachix.org-1:rz00ME8/uQfWe+tN3njwK5vc7P8GLWu9qbAjjJbLoSw="
  ];
};

Using plain old cachix;

$ cachix use willruggiano

TODO

  • zigStdenv; a stdenv but for Zig
  • Generate all possible versions based on zig data

About

A collection of Nix utilities for Zig


Languages

Language:Nix 100.0%