Documentation
¶
Overview ¶
updateflakes regenerates flakehashes.json, the file that records the Nix SRI hash of the Go module vendor tree for flake.nix.
The file is content-addressed: it records the go.mod/go.sum fingerprint that produced the SRI, and updateflakes only regenerates the hash when the current fingerprint differs from the recorded one. As a result, repeat runs with no input changes are no-ops.
Run from the repo root:
go run ./tool/updateflakes
Click to show internal directories.
Click to hide internal directories.