1244d2ff

By: Michael Lynch <git@mtlynch.io>

Stamp Go binaries with VCS metadata in Nix builds

Nix copies source trees without .git metadata, so Go could not include vcs.revision, vcs.time, or vcs.modified in binaries built with buildGoModule.

Synthesize the small git surface Go needs during package builds so the existing build info reporting on the about page receives real VCS metadata.