Merge pull request #245718 from nagy/gron-version
gron: set version at build time
This commit is contained in:
commit
10a59e67b6
|
@ -13,6 +13,8 @@ buildGoModule rec {
|
|||
|
||||
vendorSha256 = "sha256-K/QAG9mCIHe7PQhex3TntlGYAK9l0bESWk616N97dBs=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.gronVersion=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Make JSON greppable!";
|
||||
longDescription = ''
|
||||
|
|
Loading…
Reference in a new issue