From 4738a5772b8c0a96164dbe8fa6adfaeb0ea9772b Mon Sep 17 00:00:00 2001 From: zimbatm Date: Tue, 8 Oct 2019 17:47:23 +0200 Subject: [PATCH] keycard-cli: embed version --- pkgs/tools/security/keycard-cli/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/security/keycard-cli/default.nix b/pkgs/tools/security/keycard-cli/default.nix index e87bb060cc66..a76c102b2bb9 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";