diff --git a/pkgs/by-name/km/kminion/package.nix b/pkgs/by-name/km/kminion/package.nix index 0431ae49ed02..6e87c0cb5cdf 100644 --- a/pkgs/by-name/km/kminion/package.nix +++ b/pkgs/by-name/km/kminion/package.nix @@ -1,7 +1,8 @@ -{ - lib, - fetchFromGitHub, - buildGoModule, +{ lib +, stdenv +, fetchFromGitHub +, buildGoModule +, nixosTests }: buildGoModule { @@ -26,7 +27,12 @@ buildGoModule { "-X main.builtAt=unknown" ]; - passthru.updateScript = ./update.sh; + passthru = { + tests = { + inherit (nixosTests.prometheus-exporters) kafka; + }; + updateScript = ./update.sh; + }; meta = with lib; { description = "Feature-rich Prometheus exporter for Apache Kafka written in Go";