summary refs log tree commit diff
path: root/pkgs/tools/system/collectd/data.nix
blob: 378eb62d6cc5b809950a9c7a3a64b8c78b79adf0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv, collectd }:

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/
  '';
}