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
commit 10a59e67b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = ''