diff options
author | Domen Kožar <domen@dev.si> | 2023-06-21 11:53:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 11:53:23 +0100 |
commit | ef9639cfba933c240154d190fe4ed79adcc2427c (patch) | |
tree | 74f2e5fb5bf9ece3a81f161daa3950886deba810 /pkgs/tools/networking/dd-agent | |
parent | 9c705787cbb1721d4c1c5e46b04beff54a10ecd3 (diff) | |
parent | 796974e32ea3abe14ec94ef632c2491314ce0454 (diff) |
Merge pull request #189795 from cariandrum22/datadog-agent-supress-loading-errors
datadog-agent: suppress datadog-agent loading errors
Diffstat (limited to 'pkgs/tools/networking/dd-agent')
-rw-r--r-- | pkgs/tools/networking/dd-agent/datadog-agent.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/networking/dd-agent/datadog-agent.nix b/pkgs/tools/networking/dd-agent/datadog-agent.nix index f8678bc9ef9cc..c9a27df0bd4e8 100644 --- a/pkgs/tools/networking/dd-agent/datadog-agent.nix +++ b/pkgs/tools/networking/dd-agent/datadog-agent.nix @@ -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 |