netdata: fix openldap plugin

This commit is contained in:
Jörg Thalheim 2020-02-22 20:21:10 +00:00
parent 076e16989d
commit 56e6074c07
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -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";