grafana-agent: disable ebpf
at the moment the used go-epbf version not compatible with our bcc version.
This commit is contained in:
parent
d54760e57f
commit
3e5b243639
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue