|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
{ stdenv, callPackage, fetchFromGitHub, autoreconfHook, pkgconfig |
|
|
|
|
, CoreFoundation, IOKit, libossp_uuid |
|
|
|
|
, curl, libcap, libuuid, lm_sensors, zlib |
|
|
|
|
, curl, libcap, libuuid, lm_sensors, zlib, fetchpatch |
|
|
|
|
, withCups ? false, cups |
|
|
|
|
, withDBengine ? true, libuv, lz4, judy |
|
|
|
|
, withIpmi ? (!stdenv.isDarwin), freeipmi |
|
|
|
@ -36,6 +36,11 @@ in stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
|
./no-files-in-etc-and-var.patch |
|
|
|
|
# part of the next release |
|
|
|
|
(fetchpatch { |
|
|
|
|
url = "https://github.com/netdata/netdata/commit/5c992b7d92cf008ce91627efccf8644732db1f87.patch"; |
|
|
|
|
sha256 = "1nvbmhy5rir4kw77dhx1qr0l0wcspakr7z7ivva1ilz1aml8nbnm"; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1"; |
|
|
|
|