mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
Merge pull request #52765 from Izorkin/datadog-agent
datadog-agent: 6.4.2 -> 6.8.3
This commit is contained in:
commit
6a942aec5b
@ -186,7 +186,7 @@ in {
|
|||||||
type = types.attrs;
|
type = types.attrs;
|
||||||
default = {
|
default = {
|
||||||
init_config = {};
|
init_config = {};
|
||||||
instances = [ { use-mount = "no"; } ];
|
instances = [ { use_mount = "false"; } ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -6,14 +6,14 @@ let
|
|||||||
|
|
||||||
in buildGoPackage rec {
|
in buildGoPackage rec {
|
||||||
name = "datadog-agent-${version}";
|
name = "datadog-agent-${version}";
|
||||||
version = "6.4.2";
|
version = "6.8.3";
|
||||||
owner = "DataDog";
|
owner = "DataDog";
|
||||||
repo = "datadog-agent";
|
repo = "datadog-agent";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit owner repo;
|
inherit owner repo;
|
||||||
rev = "155fddb3547919bd54530dfdb250e0cb2defae7d";
|
rev = "${version}";
|
||||||
sha256 = "0l7ic0p2h27x386k1gzzm20af2s06cpalmqz0h0c5zq4wszmw5zy";
|
sha256 = "18kk3f10pbcxplshxzbblga6bqlkk5mgy536yy27j463l4xps92q";
|
||||||
};
|
};
|
||||||
|
|
||||||
subPackages = [
|
subPackages = [
|
||||||
@ -57,7 +57,7 @@ in buildGoPackage rec {
|
|||||||
# into standard paths.
|
# into standard paths.
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $bin/${python.sitePackages} $bin/share/datadog-agent
|
mkdir -p $bin/${python.sitePackages} $bin/share/datadog-agent
|
||||||
cp -R $src/cmd/agent/dist/{conf.d,trace-agent.conf} $bin/share/datadog-agent
|
cp -R $src/cmd/agent/dist/conf.d $bin/share/datadog-agent
|
||||||
cp -R $src/cmd/agent/dist/{checks,utils,config.py} $bin/${python.sitePackages}
|
cp -R $src/cmd/agent/dist/{checks,utils,config.py} $bin/${python.sitePackages}
|
||||||
|
|
||||||
cp -R $src/pkg/status/dist/templates $bin/share/datadog-agent
|
cp -R $src/pkg/status/dist/templates $bin/share/datadog-agent
|
||||||
|
Loading…
Reference in New Issue
Block a user