mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #171670 from squalus/netdata
netdata: support cross compile
This commit is contained in:
commit
2bd67e9adc
1 changed files with 4 additions and 1 deletions
|
@ -27,7 +27,9 @@ in stdenv.mkDerivation rec {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper ];
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf ];
|
||||
buildInputs = [ curl.dev zlib.dev protobuf ]
|
||||
++ optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ]
|
||||
++ optionals (!stdenv.isDarwin) [ libcap.dev libuuid.dev ]
|
||||
|
@ -80,6 +82,7 @@ in stdenv.mkDerivation rec {
|
|||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--sysconfdir=/etc"
|
||||
"--disable-ebpf"
|
||||
] ++ optionals withCloud [
|
||||
"--enable-cloud"
|
||||
"--with-aclk-ng"
|
||||
|
|
Loading…
Reference in a new issue