1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
nixpkgs/pkgs/tools/system/collectd/data.nix
2019-08-28 11:07:32 +00:00

15 lines
269 B
Nix

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