nixpkgs-suyu/pkgs/tools/system/collectd/data.nix

15 lines
269 B
Nix
Raw Normal View History

{ stdenv, collectd }:
2019-08-13 23:52:01 +02:00
stdenv.mkDerivation {
inherit (collectd) meta version;
pname = "collectd-data";
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/share/collectd
cp ${collectd}/share/collectd/*.{db,conf} $out/share/collectd/
'';
}