updateflakes

command
v1.98.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: BSD-3-Clause Imports: 16 Imported by: 0

Documentation

Overview

updateflakes regenerates flakehashes.json, the file that records the Nix SRI hashes for the Go module vendor tree and the Tailscale Go toolchain tarball.

The file is content-addressed: each block records the input fingerprint that produced its SRI, and updateflakes only regenerates a block when the current input differs from the recorded fingerprint. As a result, repeat runs with no input changes are no-ops.

Run from the repo root:

./tool/go run ./tool/updateflakes

Jump to

Keyboard shortcuts

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