cmd/printdep: support printing the toolchain SRI hash.

Updates #6845.

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2022-12-24 15:33:45 -08:00
committed by Dave Anderson
parent d2beaea523
commit 7bfb9999ee
2 changed files with 10 additions and 0 deletions

View File

@ -18,3 +18,9 @@ var AlpineDockerTag string
//
//go:embed go.toolchain.rev
var GoToolchainRev string
// GoToolchainSRI is the Nix SRI hash of the Go toolchain identified
// by GoToolchainRev. It may end in a newline.
//
//go:embed go.toolchain.sri
var GoToolchainSRI string