mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
zk: set main.Version build flag
This commit is contained in:
parent
8d7a6772b4
commit
5ec3dfe4b9
@ -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