about summary refs log tree commit diff
path: root/pkgs/servers/monitoring/grafana-agent
diff options
context:
space:
mode:
authorK9002024-10-02 13:05:22 +0300
committerK9002024-10-02 13:05:22 +0300
commit82836350f75aa281a2141af3b946182cb3639da6 (patch)
treef4da853d7dca8b76991db5d7147c343a0e0ddc27 /pkgs/servers/monitoring/grafana-agent
parent9963eb16ec0f1a23b3df95e56a01c50ee4e7249f (diff)
grafana-agent: pin to Go 1.22
Why. No. Bad.
Diffstat (limited to 'pkgs/servers/monitoring/grafana-agent')
-rw-r--r--pkgs/servers/monitoring/grafana-agent/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/monitoring/grafana-agent/default.nix b/pkgs/servers/monitoring/grafana-agent/default.nix
index 1382302def42..951258d63f10 100644
--- a/pkgs/servers/monitoring/grafana-agent/default.nix
+++ b/pkgs/servers/monitoring/grafana-agent/default.nix
@@ -1,5 +1,5 @@
 { lib
-, buildGoModule
+, buildGo122Module
 , fetchFromGitHub
 , fetchYarnDeps
 , fixup-yarn-lock
@@ -13,7 +13,9 @@
 , yarn
 }:
 
-buildGoModule rec {
+# Breaks with Go 1.23: https://github.com/grafana/agent/issues/6972
+# FIXME: unpin when fixed upstream
+buildGo122Module rec {
   pname = "grafana-agent";
   version = "0.43.3";