collectd: 5.7.2 -> 5.8.0
This is https://github.com/NixOS/nixpkgs/pull/32811 without refactoring parts. Closes #32811
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user