1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

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