gron: set version at build time

This commit is contained in:
Daniel Nagy
2023-07-27 13:00:00 +02:00
parent a9c33b3f98
commit 2ced733dc1
+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 = ''