From 092e15e8d6c2dadc5d478feb8dbf33dab6c26def Mon Sep 17 00:00:00 2001 From: Paul Meyer Date: Fri, 28 Mar 2025 08:04:35 +0100 Subject: [PATCH] prometheus-dnsmasq-exporter: unpin Go builder, mark broken on darwin Signed-off-by: Paul Meyer --- pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix b/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix index 15dde30d122e..9364526b9864 100644 --- a/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix @@ -1,11 +1,12 @@ { lib, - buildGo122Module, + buildGoModule, fetchFromGitHub, nixosTests, + stdenv, }: -buildGo122Module rec { +buildGoModule rec { pname = "dnsmasq_exporter"; version = "0.3.0"; @@ -31,5 +32,8 @@ buildGo122Module rec { willibutz globin ]; + # Broken on darwin for Go toolchain > 1.22, with error: + # 'link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg' + broken = stdenv.hostPlatform.isDarwin; }; }