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

15 lines
264 B
Nix

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