git.iko.soy/typeable/nixpkgs
on master help sign in
prometheus-knot-exporter: reference vm test
commitc62eef5675e6f8ebeeb04fbb13c529899846cf16 authorWilliButz <wbutz@cyberfnord.de> dateThu 11 Mar 2021, 18:39 (6 years ago) parent43c560f
1 file changed+3−1
pkgs/servers/monitoring/prometheus/knot-exporter.nix+3−1
pkgs/servers/monitoring/prometheus/knot-exporter.nix+3−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, lib, python3 }:
1+{ stdenv, fetchFromGitHub, lib, python3, nixosTests }:
22
33stdenv.mkDerivation rec {
44 pname = "knot-exporter";
@@ -27,6 +27,8 @@ stdenv.mkDerivation rec {
2727 runHook postInstall
2828 '';
2929
30+ passthru.tests = { inherit (nixosTests.prometheus-exporters) knot; };
31+
3032 meta = with lib; {
3133 homepage = "https://github.com/ghedo/knot_exporter";
3234 description = " Prometheus exporter for Knot DNS";