mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #262879 from K900/tempo-fix
tempo: backport fix for crashes after Go 1.21 update
This commit is contained in:
commit
76827e3fa5
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user