Merge pull request #262879 from K900/tempo-fix

tempo: backport fix for crashes after Go 1.21 update
This commit is contained in:
K900 2023-10-23 12:36:57 +03:00 committed by GitHub
commit 76827e3fa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
buildGoModule rec {
pname = "tempo";
@ -12,6 +12,15 @@ buildGoModule rec {
hash = "sha256-23wjD8HTSEGonIMAWCoKORMLIISASxlN4FeY+Bmt/+I=";
};
patches = [
# Backport patch for Go 1.21 compatibility
# FIXME: remove after 2.3.0
(fetchpatch {
url = "https://github.com/grafana/tempo/commit/0d37e8f0edd8a96876b0a5f5ab97ef79ff04608f.patch";
hash = "sha256-YC59g5pdcrwJeQ4raS0Oq+fZvRBKFj4johZtGTAYpEs=";
})
];
vendorHash = null;
subPackages = [