fix: setting build Name and Version

Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
Brian McGee 2024-02-23 11:53:39 +00:00
parent 2ad87c2504
commit 49596b8e08
Signed by: brianmcgee
GPG Key ID: D49016E76AD1E8C0

View File

@ -31,8 +31,8 @@
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"
"-X 'build.Name=${pname}'" "-X git.numtide.com/numtide/treefmt/build.Name=${pname}"
"-X 'build.Version=${version}'" "-X git.numtide.com/numtide/treefmt/build.Version=v${version}"
]; ];
nativeBuildInputs = nativeBuildInputs =