collectd-data: we only need collectd.src - not collectd.out

This commit is contained in:
Peter Hoeg 2022-02-03 11:00:47 +08:00
parent 942b0817e8
commit 15e36831c2

View File

@ -1,14 +1,14 @@
{ stdenv, collectd }:
stdenv.mkDerivation {
inherit (collectd) meta version;
pname = "collectd-data";
inherit (collectd) meta src version;
dontUnpack = true;
dontConfigure = true;
dontBuild = true;
dontFixup = true;
installPhase = ''
mkdir -p $out/share/collectd
cp ${collectd}/share/collectd/*.{db,conf} $out/share/collectd/
install -Dm444 -t $out/share/collectd/ src/*.{db,conf}
'';
}