nixpkgs/pkgs/tools/networking/dd-agent
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
..
5.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
40103-iostat-fix.patch
datadog-agent-deps.nix datadog-agent: 6.10.1 -> 6.11.0 2019-04-19 10:09:54 +03:00
datadog-agent.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
datadog-process-agent-deps.nix datadog-process-agent: 6.10.0 -> 6.11.0 2019-04-19 10:21:58 +03:00
datadog-process-agent.nix treewide: with stdenv.lib; in meta -> with lib; 2021-01-11 10:38:22 +01:00
integrations-core.nix datadog-agent: add old version pg8000 2019-03-02 12:57:22 +03:00
README.md datadog-process-agent: 6.10.0 -> 6.11.0 2019-04-19 10:21:58 +03:00

To update datadog-agent v6 (v5 is deprecated and should be removed):

  1. Bump version, rev, sha256 and payloadVersion in datadog-agent.nix
  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
  5. dep2nix
  6. cp deps.nix $NIXPKGS/pkgs/tools/networking/dd-agent/datadog-agent-deps.nix

To update datadog-process-agent:

  1. Bump version, rev and sha256 in datadog-process-agent.nix
  2. git clone https://github.com/DataDog/datadog-process-agent.git && cd datadog-process-agent
  3. git checkout <tag>
  4. nix-env -i -f https://github.com/nixcloud/dep2nix/archive/master.tar.gz
  5. dep2nix
  6. cp deps.nix $NIXPKGS/pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix