14 lines
264 B
Nix
14 lines
264 B
Nix
{ stdenv, collectd }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "collectd-data";
|
|
inherit (collectd) meta src version;
|
|
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
dontFixup = true;
|
|
|
|
installPhase = ''
|
|
install -Dm444 -t $out/share/collectd/ src/*.{db,conf}
|
|
'';
|
|
}
|