kapacitor: fix aarch64-darwin build

This commit is contained in:
Silvan Mosberger 2023-11-27 00:36:54 +01:00
parent 8e6e709ca1
commit 63b5de1e53

View File

@ -92,6 +92,12 @@ buildGoModule rec {
rm server/server_test.go
'';
# Tests start http servers which need to bind to local addresses,
# but that fails in the Darwin sandbox by default unless this option is turned on
# Error is: panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: operation not permitted
# See also https://github.com/NixOS/nix/pull/1646
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Open source framework for processing, monitoring, and alerting on time series data";
homepage = "https://influxdata.com/time-series-platform/kapacitor/";