diff options
author | Peter Hoeg <peter@hoeg.com> | 2017-08-11 09:47:27 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2017-08-11 09:47:27 +0800 |
commit | 719aa35c0cbd0cfaa4856b428f1d0717cff024dc (patch) | |
tree | 8840d746f1549b23c3493c58476448ff86c4ce15 /pkgs/tools/system/collectd | |
parent | a7c8f5e419ba07711c132bf81baaab0e74862cce (diff) | |
download | nixpkgs-719aa35c0cbd0cfaa4856b428f1d0717cff024dc.tar nixpkgs-719aa35c0cbd0cfaa4856b428f1d0717cff024dc.tar.gz nixpkgs-719aa35c0cbd0cfaa4856b428f1d0717cff024dc.tar.bz2 nixpkgs-719aa35c0cbd0cfaa4856b428f1d0717cff024dc.tar.lz nixpkgs-719aa35c0cbd0cfaa4856b428f1d0717cff024dc.tar.xz nixpkgs-719aa35c0cbd0cfaa4856b428f1d0717cff024dc.tar.zst nixpkgs-719aa35c0cbd0cfaa4856b428f1d0717cff024dc.zip |
collectd-data: init at 5.7.0 - contains just data files from collectd
Diffstat (limited to 'pkgs/tools/system/collectd')
-rw-r--r-- | pkgs/tools/system/collectd/data.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/tools/system/collectd/data.nix b/pkgs/tools/system/collectd/data.nix new file mode 100644 index 00000000000..cb8c4cc7d02 --- /dev/null +++ b/pkgs/tools/system/collectd/data.nix @@ -0,0 +1,14 @@ +{ stdenv, collectd }: + +stdenv.mkDerivation rec { + inherit (collectd) meta version; + + name = "collectd-data-${version}"; + + phases = [ "installPhase" ]; + + installPhase = '' + mkdir -p $out/share/collectd + cp ${collectd}/share/collectd/*.{db,conf} $out/share/collectd/ + ''; +} |