From a60c98c59b92839726108738e664e0caebd31252 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Tue, 14 Jan 2025 20:46:54 +0000 Subject: [PATCH 1/2] tempo: add passthru.updateScript --- pkgs/by-name/te/tempo/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/te/tempo/package.nix b/pkgs/by-name/te/tempo/package.nix index 2bb64950f8e54..c953070514176 100644 --- a/pkgs/by-name/te/tempo/package.nix +++ b/pkgs/by-name/te/tempo/package.nix @@ -2,6 +2,7 @@ lib, buildGo122Module, fetchFromGitHub, + nix-update-script, }: # Does not build with Go 1.23 @@ -39,6 +40,8 @@ buildGo122Module rec { # tests use docker doCheck = false; + passthru.updateScript = nix-update-script { }; + meta = with lib; { description = "High volume, minimal dependency trace storage"; license = licenses.asl20; From c069ef3e7e49e558cd91a5feca2caad22e269464 Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Tue, 14 Jan 2025 20:46:54 +0000 Subject: [PATCH 2/2] tempo: 2.6.0 -> 2.7.0 https://github.com/grafana/tempo/releases/tag/v2.7.0 --- pkgs/by-name/te/tempo/package.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/te/tempo/package.nix b/pkgs/by-name/te/tempo/package.nix index c953070514176..e9c48eb9505f5 100644 --- a/pkgs/by-name/te/tempo/package.nix +++ b/pkgs/by-name/te/tempo/package.nix @@ -1,22 +1,20 @@ { lib, - buildGo122Module, + buildGoModule, fetchFromGitHub, nix-update-script, }: -# Does not build with Go 1.23 -# FIXME: check again for next release -buildGo122Module rec { +buildGoModule rec { pname = "tempo"; - version = "2.6.0"; + version = "2.7.0"; src = fetchFromGitHub { owner = "grafana"; repo = "tempo"; rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-jWoGKY+kC9VAK7jPFaGMJQkC/JeAiUjzqKhE2XjuJio="; + hash = "sha256-aCtITq5qT0a1DuoSDK3F46cPvfVsvXOPkZELEuRYi5w="; }; vendorHash = null;