Use ldflags first to get version info, then fall back to VCS info
Some checks failed
/ golint (push) Failing after 3m53s

This commit is contained in:
Eli Ribble 2026-05-19 14:36:44 +00:00
parent 6d5d21f638
commit 85957b5ae6
No known key found for this signature in database
2 changed files with 26 additions and 3 deletions

View file

@ -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";