Use ldflags first to get version info, then fall back to VCS info
Some checks failed
/ golint (push) Failing after 3m53s
Some checks failed
/ golint (push) Failing after 3m53s
This commit is contained in:
parent
6d5d21f638
commit
85957b5ae6
2 changed files with 26 additions and 3 deletions
|
|
@ -15,6 +15,7 @@ pkgs.buildGoModule rec {
|
|||
"-w"
|
||||
"-X main.Version=${version}"
|
||||
"-X main.Commit=${gitRevision}"
|
||||
"-X main.BuildTime=${toString buildTime}"
|
||||
];
|
||||
meta = {
|
||||
description = "Nidus Sync";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue