about summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-02-22 20:21:10 +0000
committerJörg Thalheim <joerg@thalheim.io>2020-02-24 10:31:51 +0000
commit56e6074c07b83cfd04384214e06aaf20ca9f4631 (patch)
treed3b4e76ab8e4f1e725d29c77777e4c646c83b159 /pkgs/tools/system
parent076e16989d68300ebffe64f4e7b010fc97cff478 (diff)
downloadnixlib-56e6074c07b83cfd04384214e06aaf20ca9f4631.tar
nixlib-56e6074c07b83cfd04384214e06aaf20ca9f4631.tar.gz
nixlib-56e6074c07b83cfd04384214e06aaf20ca9f4631.tar.bz2
nixlib-56e6074c07b83cfd04384214e06aaf20ca9f4631.tar.lz
nixlib-56e6074c07b83cfd04384214e06aaf20ca9f4631.tar.xz
nixlib-56e6074c07b83cfd04384214e06aaf20ca9f4631.tar.zst
nixlib-56e6074c07b83cfd04384214e06aaf20ca9f4631.zip
netdata: fix openldap plugin
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/netdata/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/tools/system/netdata/default.nix b/pkgs/tools/system/netdata/default.nix
index 714efb918539..482e6253a52a 100644
--- a/pkgs/tools/system/netdata/default.nix
+++ b/pkgs/tools/system/netdata/default.nix
@@ -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";