nixpkgs/pkgs/tools/system/collectd/data.nix
2021-07-20 12:28:59 +02:00

14 lines
259 B
Nix

{ stdenv, collectd }:
stdenv.mkDerivation {
inherit (collectd) meta version;
pname = "collectd-data";
dontUnpack = true;
installPhase = ''
mkdir -p $out/share/collectd
cp ${collectd}/share/collectd/*.{db,conf} $out/share/collectd/
'';
}