grafana: fix build

Grafana 11.2 doesn't work with Go 1.23, so revert to 1.22. This can be
undone once we upgrade to a version containing
https://github.com/grafana/grafana/pull/92055, presumably grafana 11.3.
This commit is contained in:
Tom Dohrmann 2024-09-30 21:12:19 +02:00
parent 27e693e46c
commit 1859c5139d
No known key found for this signature in database
GPG Key ID: A1907110D8518A9A

View File

@ -1,4 +1,4 @@
{ lib, stdenv, buildGoModule, fetchFromGitHub, removeReferencesTo
{ lib, stdenv, buildGo122Module, fetchFromGitHub, removeReferencesTo
, tzdata, wire
, yarn, nodejs, python3, cacert
, jq, moreutils
@ -6,7 +6,8 @@
, faketty
}:
buildGoModule rec {
# TODO: Go back to using buildGoModule when upgrading to grafana 11.3.
buildGo122Module rec {
pname = "grafana";
version = "11.2.1";