grafana-alloy: add nixosTests.alloy to passthru

This commit is contained in:
Florian Klink 2024-06-08 18:34:51 +03:00
parent c12da48755
commit aa52f15fff

View File

@ -8,6 +8,7 @@
, fixup-yarn-lock
, nodejs
, grafana-alloy
, nixosTests
, nix-update-script
, installShellFiles
, testers
@ -103,6 +104,7 @@ buildGoModule rec {
passthru = {
tests = {
inherit (nixosTests) alloy;
version = testers.testVersion {
version = "v${version}";
command = "${lib.getExe grafana-alloy} --version";