ejson2env: add version
The version needs to be specified using `ldflags` or the displayed version string is just "dev".
This commit is contained in:
parent
1d6c1ed507
commit
b817072297
1 changed files with 4 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue