ejson2env: add version

The version needs to be specified using `ldflags` or the displayed version
string is just "dev".
This commit is contained in:
Stanisław Pitucha 2022-04-12 11:07:55 +10:00
parent 1d6c1ed507
commit b817072297

View file

@ -13,6 +13,10 @@ buildGoModule rec {
vendorSha256 = "sha256-BY45WirK9AVhvFGB5uqI4dLxzO2WuNNhhJbQ6nsRXao=";
ldflags = [
"-X main.version=${version}"
];
meta = with lib; {
description = "A tool to simplify storing secrets that should be accessible in the shell environment in your git repo.";
homepage = "https://github.com/Shopify/ejson2env";