Help us shape the future of Go! Take the 2026 Go Developer Survey

updateflakes

command
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2026 License: BSD-3-Clause Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL