From 994890bfe6b4da65ad2670fa780527d478d14c70 Mon Sep 17 00:00:00 2001 From: K900 Date: Thu, 18 Aug 2022 07:55:21 +0300 Subject: [PATCH] tempo: 1.4.1 -> 1.5.0 --- pkgs/servers/tracing/tempo/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/tracing/tempo/default.nix b/pkgs/servers/tracing/tempo/default.nix index 19f2df40ed45..d058a0b2931a 100644 --- a/pkgs/servers/tracing/tempo/default.nix +++ b/pkgs/servers/tracing/tempo/default.nix @@ -2,14 +2,14 @@ buildGoModule rec { pname = "tempo"; - version = "1.4.1"; + version = "1.5.0"; src = fetchFromGitHub { owner = "grafana"; repo = "tempo"; rev = "v${version}"; fetchSubmodules = true; - sha256 = "sha256-kxR+xwhthsK3gThs0jPJfWlsRG35kCuWvKH3Wr7ENTs="; + sha256 = "sha256-m7tfDd0Yjg4+VHZPxYJXEx2XNNodepMcPLucBjvd88s="; }; vendorSha256 = null; @@ -17,12 +17,19 @@ buildGoModule rec { subPackages = [ "cmd/tempo-cli" "cmd/tempo-query" - # FIXME: build is broken upstream, enable for next release - # "cmd/tempo-serverless" + "cmd/tempo-serverless" "cmd/tempo-vulture" "cmd/tempo" ]; + ldflags = [ + "-s" + "-w" + "-X=main.Version=${version}" + "-X=main.Branch=" + "-X=main.Revision=${version}" + ]; + # tests use docker doCheck = false;