diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-03-18 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2023-03-18 04:20:00 +0000 |
commit | a0753a8b4b947179749f9f0550590835a0d7b51f (patch) | |
tree | e1fc9c8ea08fcd3ea82110b2d606d8e46e75ad9e /pkgs/tools/system/netdata | |
parent | bd2b3ec62b18c45293878bdff863f8c8ca663698 (diff) |
netdata-go-plugins: add netdata test to passthru
Diffstat (limited to 'pkgs/tools/system/netdata')
-rw-r--r-- | pkgs/tools/system/netdata/go.d.plugin.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/tools/system/netdata/go.d.plugin.nix b/pkgs/tools/system/netdata/go.d.plugin.nix index 702d508d2ebff..01594683a96b1 100644 --- a/pkgs/tools/system/netdata/go.d.plugin.nix +++ b/pkgs/tools/system/netdata/go.d.plugin.nix @@ -1,4 +1,5 @@ -{ lib, fetchFromGitHub, buildGoModule }: +{ lib, fetchFromGitHub, buildGoModule, nixosTests }: + buildGoModule rec { pname = "netdata-go-plugins"; version = "0.51.4"; @@ -21,6 +22,8 @@ buildGoModule rec { cp -r config/* $out/lib/netdata/conf.d ''; + passthru.tests = { inherit (nixosTests) netdata; }; + meta = with lib; { description = "Netdata orchestrator for data collection modules written in go"; homepage = "https://github.com/netdata/go.d.plugin"; |