some overrideDerivation cleanups

These four top-level packages were the only ones that didn't have the
meta.position attribute automagically set. This commit fixes this.
This commit is contained in:
Silvan Mosberger
2018-06-14 22:28:55 +02:00
parent a7e9fabd7b
commit 02f11bca60
4 changed files with 12 additions and 22 deletions
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, collectd }:
with stdenv.lib;
overrideDerivation collectd (oldAttrs: {
collectd.overrideAttrs (oldAttrs: {
name = "libcollectdclient-${collectd.version}";
buildInputs = [ ];
@@ -16,7 +16,6 @@ overrideDerivation collectd (oldAttrs: {
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";
homepage = http://collectd.org;
@@ -24,4 +23,4 @@ overrideDerivation collectd (oldAttrs: {
platforms = platforms.linux; # TODO: collectd may be linux but the C client may be more portable?
maintainers = [ maintainers.sheenobu maintainers.bjornfor ];
};
}
})