summary refs log tree commit diff
path: root/pkgs/development/libraries/libcollectdclient
diff options
context:
space:
mode:
authorvolth <volth@webmaster.ms>2017-12-20 22:37:37 +0000
committerOrivej Desh <orivej@gmx.fr>2017-12-29 17:34:55 +0000
commit4026ea9c8afd09b60896b861a04cc5748fdcdfb4 (patch)
tree6ba493561a354a1f0f35cf77a7c9ceb32b2d0a0f /pkgs/development/libraries/libcollectdclient
parentd3297379ad58901e324396d4efb84ee394ae5d7d (diff)
downloadnixpkgs-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar
nixpkgs-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.gz
nixpkgs-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.bz2
nixpkgs-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.lz
nixpkgs-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.xz
nixpkgs-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.zst
nixpkgs-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.zip
collectd: 5.7.2 -> 5.8.0
This is https://github.com/NixOS/nixpkgs/pull/32811 without refactoring parts.

Closes #32811
Diffstat (limited to 'pkgs/development/libraries/libcollectdclient')
-rw-r--r--pkgs/development/libraries/libcollectdclient/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libcollectdclient/default.nix b/pkgs/development/libraries/libcollectdclient/default.nix
index f6d9d7ca69b..e4e61c94283 100644
--- a/pkgs/development/libraries/libcollectdclient/default.nix
+++ b/pkgs/development/libraries/libcollectdclient/default.nix
@@ -5,14 +5,17 @@ overrideDerivation collectd (oldAttrs: {
   name = "libcollectdclient-${collectd.version}";
   buildInputs = [ ];
 
-  configureFlags = [
-    "--without-daemon"
+  NIX_CFLAGS_COMPILE = oldAttrs.NIX_CFLAGS_COMPILE ++ [
+    "-Wno-error=unused-function"
   ];
 
-  makeFlags = [
-    "-C src/libcollectdclient/"
+  configureFlags = oldAttrs.configureFlags ++ [
+    "--disable-daemon"
+    "--disable-all-plugins"
   ];
 
+  postInstall = "rm -rf $out/{bin,etc,sbin,share}";
+
 }) // {
   meta = with stdenv.lib; {
     description = "C Library for collectd, a daemon which collects system performance statistics periodically";