mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
datadog-agent: suppress datadog-agent loading errors
Loading Errors for apm, process-agent and winproc.d appear on the datadog agent. To suppress these errors, I have removed these default configurations that were copied in the postInstall phase.
This commit is contained in:
parent
f0daeb19cb
commit
796974e32e
@ -93,7 +93,8 @@ in buildGoModule rec {
|
||||
# into standard paths.
|
||||
postInstall = ''
|
||||
mkdir -p $out/${python.sitePackages} $out/share/datadog-agent
|
||||
cp -R $src/cmd/agent/dist/conf.d $out/share/datadog-agent
|
||||
cp -R --no-preserve=mode $src/cmd/agent/dist/conf.d $out/share/datadog-agent
|
||||
rm -rf $out/share/datadog-agent/conf.d/{apm.yaml.default,process_agent.yaml.default,winproc.d}
|
||||
cp -R $src/cmd/agent/dist/{checks,utils,config.py} $out/${python.sitePackages}
|
||||
|
||||
cp -R $src/pkg/status/templates $out/share/datadog-agent
|
||||
|
Loading…
Reference in New Issue
Block a user