mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
15 lines
259 B
Nix
15 lines
259 B
Nix
{ stdenv, collectd }:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit (collectd) meta version;
|
|
|
|
pname = "collectd-data";
|
|
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/collectd
|
|
cp ${collectd}/share/collectd/*.{db,conf} $out/share/collectd/
|
|
'';
|
|
}
|