diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-07-04 04:20:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-07-04 04:20:00 -0500 |
commit | 82106e0c3b2cee0a976e62744bc4a1e7c03d47b5 (patch) | |
tree | 644d320bff8bfb59b96c776c2aebef8b28d8fb52 | |
parent | 5a4fe405d34b32540ea149c0699be20a2f22c6d6 (diff) |
tendermint: use subPackages
-rw-r--r-- | pkgs/tools/networking/tendermint/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/networking/tendermint/default.nix b/pkgs/tools/networking/tendermint/default.nix index 12e89ac6065a0..31cbd1515d8db 100644 --- a/pkgs/tools/networking/tendermint/default.nix +++ b/pkgs/tools/networking/tendermint/default.nix @@ -13,6 +13,10 @@ buildGoModule rec { vendorSha256 = "0i0n89lal99fqnzva51kp9f7wzqsfmncpshwxhq26kvykp7ji7sw"; + subPackages = [ "cmd/tendermint" ]; + + buildFlagsArray = [ "-ldflags=-s -w -X github.com/tendermint/tendermint/version.GitCommit=${src.rev}" ]; + meta = with stdenv.lib; { description = "Byzantine-Fault Tolerant State Machines. Or Blockchain, for short."; homepage = "https://tendermint.com/"; @@ -20,4 +24,4 @@ buildGoModule rec { maintainers = with maintainers; [ alexfmpe ]; platforms = platforms.linux ++ platforms.darwin; }; -} \ No newline at end of file +} |