prometheus-systemd-exporter: fix typo, reference vm test

This commit is contained in:
WilliButz 2021-03-11 18:50:29 +01:00
parent 83de9e2d12
commit 344b02919e
No known key found for this signature in database
GPG key ID: 92582A10F1179CB2

View file

@ -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";