mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
15 lines
283 B
Nix
15 lines
283 B
Nix
{ 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/
|
|
'';
|
|
}
|