phanirithvij ad2b075d4f cmd/nardump: support symlinks, add basic test 11 months ago
..
README.md 3599364312 cmd/nardump: Go tool to build Nix NARs and compute their hashes. 3 years ago
nardump.go ad2b075d4f cmd/nardump: support symlinks, add basic test 11 months ago
nardump_test.go ad2b075d4f cmd/nardump: support symlinks, add basic test 11 months ago

README.md

nardump

nardump is like nix-store --dump, but in Go, writing a NAR file (tar-like, but focused on being reproducible) to stdout or to a hash with the --sri flag.

It lets us calculate the Nix sha256 in shell.nix without the person running git-pull-oss.sh having Nix available.