diff options
author | zimbatm <zimbatm@zimbatm.com> | 2019-10-08 17:47:23 +0200 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2019-10-08 17:47:34 +0200 |
commit | 4738a5772b8c0a96164dbe8fa6adfaeb0ea9772b (patch) | |
tree | 74df221262ad28925201182cd44a7c5dba5e7466 /pkgs/tools | |
parent | d7340fe2324e8a9f0862b2bc4701978f6954a924 (diff) |
keycard-cli: embed version
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/keycard-cli/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/security/keycard-cli/default.nix b/pkgs/tools/security/keycard-cli/default.nix index e87bb060cc66a..a76c102b2bb90 100644 --- a/pkgs/tools/security/keycard-cli/default.nix +++ b/pkgs/tools/security/keycard-cli/default.nix @@ -17,6 +17,11 @@ buildGoPackage rec { sha256 = "1jnbaq57i6i9bad1hcvd28mxfqq6v8rv806c6l74vlb79ff4v1wb"; }; + buildFlagsArray = [ + "-ldflags=" + "-X main.version=${version}" + ]; + meta = with lib; { description = "A command line tool and shell to manage keycards"; homepage = "https://keycard.status.im"; |