*: fix builds by disregarding warning from new glibc

Also, in case of collectd, the -lgcc_s shouldn't be needed anymore,
as the library is in ${glibc}/lib/ now, which is practically always on RPATH.

In case of seyren it was some stdenv change uncovering the mistake of
putting src into buildInputs.
This commit is contained in:
Vladimír Čunát
2014-11-28 18:42:03 +01:00
parent cacf3f6c1e
commit 06c6d4696d
8 changed files with 16 additions and 3 deletions
+2 -2
View File
@@ -33,8 +33,6 @@ stdenv.mkDerivation rec {
sha256 = "1q365zx6d1wyhv7n97bagfxqnqbhj2j14zz552nhmjviy8lj2ibm";
};
NIX_LDFLAGS = "-lgcc_s"; # for pthread_cancel
buildInputs = [
pkgconfig curl iptables libcredis libdbi libgcrypt libmemcached cyrus_sasl
libmodbus libnotify gdk_pixbuf liboping libpcap libsigrok libvirt
@@ -45,6 +43,8 @@ stdenv.mkDerivation rec {
# for some reason libsigrok isn't auto-detected
configureFlags = stdenv.lib.optional (libsigrok != null) "--with-libsigrok";
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
meta = with stdenv.lib; {
description = "Daemon which collects system performance statistics periodically";
homepage = http://collectd.org;