collectd: Fix build on Glibc 2.24

This commit is contained in:
Franz Pletz 2016-08-23 00:26:56 +02:00
parent a12b2bfb8b
commit 415e1983ca

View File

@ -52,7 +52,8 @@ stdenv.mkDerivation rec {
stdenv.lib.optional (libsigrok != null) "--with-libsigrok" ++
stdenv.lib.optional (python != null) "--with-python=${python}/bin/python";
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
# Fix build on Glibc 2.24.
NIX_CFLAGS_COMPILE = "-Wno-error=cpp -Wno-error=deprecated-declarations";
meta = with stdenv.lib; {
description = "Daemon which collects system performance statistics periodically";