mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
Merge pull request #319124 from daylinmorgan/zk-version
zk: set main.Version build flag
This commit is contained in:
commit
bc0801d4ba
@ -17,7 +17,7 @@ buildGoModule rec {
|
||||
|
||||
CGO_ENABLED = 1;
|
||||
|
||||
ldflags = [ "-s" "-w" "-X=main.Build=${version}" ];
|
||||
ldflags = [ "-s" "-w" "-X=main.Build=${version}" "-X=main.Version=${version}"];
|
||||
|
||||
tags = [ "fts5" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user