about summary refs log tree commit diff
path: root/pkgs/tools/system/netdata
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-03-18 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-03-18 04:20:00 +0000
commita0753a8b4b947179749f9f0550590835a0d7b51f (patch)
treee1fc9c8ea08fcd3ea82110b2d606d8e46e75ad9e /pkgs/tools/system/netdata
parentbd2b3ec62b18c45293878bdff863f8c8ca663698 (diff)
downloadnixlib-a0753a8b4b947179749f9f0550590835a0d7b51f.tar
nixlib-a0753a8b4b947179749f9f0550590835a0d7b51f.tar.gz
nixlib-a0753a8b4b947179749f9f0550590835a0d7b51f.tar.bz2
nixlib-a0753a8b4b947179749f9f0550590835a0d7b51f.tar.lz
nixlib-a0753a8b4b947179749f9f0550590835a0d7b51f.tar.xz
nixlib-a0753a8b4b947179749f9f0550590835a0d7b51f.tar.zst
nixlib-a0753a8b4b947179749f9f0550590835a0d7b51f.zip
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.nix5
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 702d508d2ebf..01594683a96b 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";