Merge pull request #112140 from fabaff/version-gotop
This commit is contained in:
commit
31a70d1144
@ -14,6 +14,8 @@ buildGoModule rec {
|
|||||||
runVend = true;
|
runVend = true;
|
||||||
vendorSha256 = "sha256-GcIaUIuTiSY1aKxRtclfl7hMNaZZx4uoVG7ahjF/4Hs=";
|
vendorSha256 = "sha256-GcIaUIuTiSY1aKxRtclfl7hMNaZZx4uoVG7ahjF/4Hs=";
|
||||||
|
|
||||||
|
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=v${version}" ];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user