mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
dcf171bc79
This reverts commit af096c8bff
.
10 lines
477 B
Bash
Executable file
10 lines
477 B
Bash
Executable file
#!/usr/bin/env bash
|
|
dd=$(nix-build --no-out-link -A dd-agent ../../../..)
|
|
echo '# Generated using update-dd-agent-default, please re-run after updating dd-agent. DO NOT EDIT MANUALLY.' > dd-agent-defaults.nix
|
|
echo '[' >> dd-agent-defaults.nix
|
|
echo ' "auto_conf"' >> dd-agent-defaults.nix
|
|
for f in $(find $dd/agent/conf.d-system -maxdepth 1 -type f | grep -v '\.example' | sort); do
|
|
echo " \"$(basename $f)\"" >> dd-agent-defaults.nix
|
|
done
|
|
echo ']' >> dd-agent-defaults.nix
|