air: add version to ldflags

This commit is contained in:
Nipe Setiawan Harefa 2022-08-28 17:31:41 +07:00
parent 712fd552d6
commit 1729dc31de

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "sha256-+hZpCIDASPerI7Wetpx+ah2H5ODjoeyoqUi+uFwR/9A=";
ldflags = [ "-s" "-w" "-X=main.airVersion=${version}" ];
subPackages = [ "." ];
meta = with lib; {