keycard-cli: embed version

This commit is contained in:
zimbatm 2019-10-08 17:47:23 +02:00
parent d7340fe232
commit 4738a5772b
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

View file

@ -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";