Howard-12/zig-template
A simple Nix flake template for Zig development
A Nix flake template for Zig development
Create a project:
nix flake init -t github:Howard-12/zig-template
Choose your compiler version (modify zig_version in flake.nix
):
# compiler version
zig_version = "0.14.1";
zig = zig_overlay.packages.${system}.${zig_version};
run nix develop
to start the nix shell or run direnv allow