Merge pull request #112140 from fabaff/version-gotop

This commit is contained in:
Sandro 2021-02-06 21:19:28 +01:00 committed by GitHub
commit 31a70d1144
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,8 @@ buildGoModule rec {
runVend = true;
vendorSha256 = "sha256-GcIaUIuTiSY1aKxRtclfl7hMNaZZx4uoVG7ahjF/4Hs=";
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=v${version}" ];
preCheck = ''
export HOME=$(mktemp -d)
'';