From 3e5b243639786781dbdfcf5a9faba41b1364406a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 4 Dec 2022 16:07:09 +0100 Subject: [PATCH] grafana-agent: disable ebpf at the moment the used go-epbf version not compatible with our bcc version. --- pkgs/servers/monitoring/grafana-agent/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/monitoring/grafana-agent/default.nix b/pkgs/servers/monitoring/grafana-agent/default.nix index 28cfbaa94cbf..d777e9d2b5a3 100644 --- a/pkgs/servers/monitoring/grafana-agent/default.nix +++ b/pkgs/servers/monitoring/grafana-agent/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub, systemd, nixosTests, bcc }: +{ lib, buildGoModule, fetchFromGitHub, systemd, nixosTests }: buildGoModule rec { pname = "grafana-agent"; @@ -27,6 +27,7 @@ buildGoModule rec { tags = [ "nonetwork" + "noebpf" "nodocker" ]; @@ -39,8 +40,6 @@ buildGoModule rec { # https://github.com/coreos/go-systemd/issues/351 NIX_CFLAGS_COMPILE = [ "-I${lib.getDev systemd}/include" ]; - buildInputs = [ bcc ]; - # tries to access /sys: https://github.com/grafana/agent/issues/333 preBuild = '' rm pkg/integrations/node_exporter/node_exporter_test.go