2019-04-19 08:09:54 +01:00
|
|
|
To update datadog-agent v6 (v5 is deprecated and should be removed):
|
2018-09-08 22:39:55 +01:00
|
|
|
|
2019-04-19 08:09:54 +01:00
|
|
|
1. Bump `version`, `rev`, `sha256` and `payloadVersion` in `datadog-agent.nix`
|
2018-09-08 22:39:55 +01:00
|
|
|
2. `git clone https://github.com/DataDog/datadog-agent.git && cd datadog-agent`
|
|
|
|
3. `git checkout <tag>`
|
|
|
|
4. `nix-env -i -f https://github.com/nixcloud/dep2nix/archive/master.tar.gz`
|
2019-04-19 08:09:54 +01:00
|
|
|
5. `dep2nix`
|
|
|
|
6. `cp deps.nix $NIXPKGS/pkgs/tools/networking/dd-agent/datadog-agent-deps.nix`
|