mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
air: add version to ldflags
This commit is contained in:
parent
712fd552d6
commit
1729dc31de
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "sha256-+hZpCIDASPerI7Wetpx+ah2H5ODjoeyoqUi+uFwR/9A=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X=main.airVersion=${version}" ];
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user