prometheus-dnsmasq-exporter: unpin Go builder, mark broken on darwin

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer 2025-03-28 08:04:35 +01:00
parent f9b5b73f03
commit 092e15e8d6

View file

@ -1,11 +1,12 @@
{ {
lib, lib,
buildGo122Module, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
nixosTests, nixosTests,
stdenv,
}: }:
buildGo122Module rec { buildGoModule rec {
pname = "dnsmasq_exporter"; pname = "dnsmasq_exporter";
version = "0.3.0"; version = "0.3.0";
@ -31,5 +32,8 @@ buildGo122Module rec {
willibutz willibutz
globin 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;
}; };
} }