From 344b02919ee4d4b9ffbd7ebca44f99a8202f9749 Mon Sep 17 00:00:00 2001 From: WilliButz Date: Thu, 11 Mar 2021 18:50:29 +0100 Subject: prometheus-systemd-exporter: fix typo, reference vm test --- pkgs/servers/monitoring/prometheus/systemd-exporter.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"; -- cgit 1.4.1