mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
15 lines
269 B
Nix
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/
|
|
'';
|
|
}
|