git.iko.soy/typeable/nixpkgs
on master help sign in
collectd: Fix build on Glibc 2.24
commit415e1983ca650777d476d39de1db61a9e9877621 authorFranz Pletz <fpletz@fnordicwalking.de> dateTue 23 Aug 2016, 00:26 (10 years ago) parenta12b2bf
1 file changed+2−1
pkgs/tools/system/collectd/default.nix+2−1
pkgs/tools/system/collectd/default.nix+2−1
@@ -52,7 +52,8 @@ stdenv.mkDerivation rec {
5252 stdenv.lib.optional (libsigrok != null) "--with-libsigrok" ++
5353 stdenv.lib.optional (python != null) "--with-python=${python}/bin/python";
5454
55− NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
55+ # Fix build on Glibc 2.24.
56+ NIX_CFLAGS_COMPILE = "-Wno-error=cpp -Wno-error=deprecated-declarations";
5657
5758 meta = with stdenv.lib; {
5859 description = "Daemon which collects system performance statistics periodically";