telegraf: reference nixosTests
This commit is contained in:
parent
cd78ddaaeb
commit
0218f30af5
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "telegraf";
|
||||
|
@ -21,6 +21,8 @@ buildGoPackage rec {
|
|||
-w -s -X main.version=${version}
|
||||
'' ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) telegraf; };
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue