minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/crs1ks6b3513ymkmxn8g4iivxz95gvkf-nixos-25.05.813814.ac62194c3917/nixos/pkgs/by-name/ga/garble
Git unified diff text formatInstructs installing mvdan.cc/garble
SHA-256890cb489e5e799d38008d9a7a2d411f02f68a178f9a3a84f5c58b6f116354275
MaleculeO(As)Md
Evidence
8:22… .txtar | 2 +-
9 2 files changed, 2 insertions(+), 1 deletion(-)
10
11diff --git a/main.go b/main.go
12index 0de5a2f..1c830b1 100644
13--- a/main.go
14+++ b/main.go
15@@ -362,6 +362,7 @@ func mainErr(args []string) error {
16 // manually construct something like a pseudo-version.
17 // TODO: remove when this code is dead, hopefully in Go 1.22.
18 if mod.Version == "(devel)" {
19+ mod.Version = "@versio …
20:10… csTime time.Time
21 var vcsRevision string
22 for _, setting := range info.Settings {
23diff --git a/testdata/script/help.txtar b/testdata/script/h …
27:3… -91,7 +91,7 @@ stderr 'directory not found'
28 # and to be able to use static VCS info, use an environment variable.
29 # First, test without the information, and then with it.
30 exec garble version
31-stdout -count=1 'mvdan.cc/garble \(devel\)'
32+stdout -count=1 'mvdan.cc/garble @version@'
33 stdout -count=1 'Build settings'
34 stdout -count=3 '-compiler|GOOS|GOAR …