Merge pull request #245718 from nagy/gron-version

gron: set version at build time
This commit is contained in:
Sandro
2023-07-27 23:49:15 +02:00
committed by GitHub
+2
View File
@@ -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 = ''