diff --git a/pkgs/servers/monitoring/prometheus/systemd-exporter.nix b/pkgs/servers/monitoring/prometheus/systemd-exporter.nix index 75a36236aa4..96029c99d8c 100644 --- a/pkgs/servers/monitoring/prometheus/systemd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/systemd-exporter.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGittHub, }: +{ lib, buildGoModule, fetchFromGitHub, nixosTests }: buildGoModule rec { pname = "systemd_exporter"; @@ -13,6 +13,8 @@ buildGoModule rec { sha256 = "sha256-JDfRHczFnTP9sxA7polUE9qzJhSPIiAU58GBNDYkX4c="; }; + passthru.tests = { inherit (nixosTests.prometheus-exporters) systemd; }; + meta = with lib; { description = "Exporter for systemd unit metrics"; homepage = "https://github.com/povilasv/systemd_exporter";