Skip to content

Commit

Permalink
grafana-alloy: add nixosTests.alloy to passthru
Browse files Browse the repository at this point in the history
  • Loading branch information
flokli committed Jun 10, 2024
1 parent c12da48 commit aa52f15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/by-name/gr/grafana-alloy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
, fixup-yarn-lock
, nodejs
, grafana-alloy
, nixosTests
, nix-update-script
, installShellFiles
, testers
Expand Down Expand Up @@ -103,6 +104,7 @@ buildGoModule rec {

passthru = {
tests = {
inherit (nixosTests) alloy;
version = testers.testVersion {
version = "v${version}";
command = "${lib.getExe grafana-alloy} --version";
Expand Down

0 comments on commit aa52f15

Please sign in to comment.