mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
Merge pull request #112140 from fabaff/version-gotop
This commit is contained in:
commit
31a70d1144
@ -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)
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user