netdata: fix network interfaces detection when using virsh
This commit is contained in:
parent
53651179b9
commit
6b2462aec9
@ -8,6 +8,7 @@
|
|||||||
, withNetfilter ? (!stdenv.isDarwin), libmnl, libnetfilter_acct
|
, withNetfilter ? (!stdenv.isDarwin), libmnl, libnetfilter_acct
|
||||||
, withSsl ? true, openssl
|
, withSsl ? true, openssl
|
||||||
, withDebug ? false
|
, withDebug ? false
|
||||||
|
, fetchpatch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@ -39,6 +40,11 @@ in stdenv.mkDerivation rec {
|
|||||||
# required to prevent plugins from relying on /etc
|
# required to prevent plugins from relying on /etc
|
||||||
# and /var
|
# and /var
|
||||||
./no-files-in-etc-and-var.patch
|
./no-files-in-etc-and-var.patch
|
||||||
|
# cgroups: fix network interfaces detection when using virsh
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/netdata/netdata/pull/11096.patch";
|
||||||
|
sha256 = "0f2rd7kgbwbyq9wyn085d213ifvivnpl3qlx1gjrg42rkbi4n8jj";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1";
|
NIX_CFLAGS_COMPILE = optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user