Convert build.zig.zon to a Nix derivation (or several other formats)
  • Zig 87.8%
  • Nix 12.2%
Find a file
2025-11-09 13:52:47 -06:00
src allow choosing between Zig 0.14 and 0.15 output 2025-09-20 12:19:33 -05:00
.gitattributes Initial commit 2024-01-11 20:15:31 +09:00
.gitignore massive rewrite to almost pure Zig 2025-03-14 15:34:04 -05:00
build.zig fix fallback path for nixfmt 2025-11-09 13:52:47 -06:00
build.zig.zon update to Zig 0.15.1 2025-08-23 20:54:39 -05:00
flake.lock update nixpkgs 2025-11-08 15:45:10 -06:00
flake.nix fix deprecated use of pkgs.system 2025-11-08 15:45:25 -06:00
LICENSE Initial commit 2024-01-11 20:15:31 +09:00
package.nix fix putting Zig 0.15 in the environment 2025-09-20 16:59:07 -05:00
README.md update readme 2025-03-14 23:54:50 -05:00

zon2nix

For converting Zig build.zig.zon to nix derivations.

https://ziglang.org/ https://nixos.org/


License: MIT

Convert zon file to a nix derivation

nix run github:jcollie/zon2nix#zon2nix -- --nix=build.zig.zon.nix build.zig.zon