kapacitor: fix aarch64-darwin build
This commit is contained in:
parent
8e6e709ca1
commit
63b5de1e53
1 changed files with 6 additions and 0 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue