diff options
author | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2020-10-01 11:57:23 +0200 |
---|---|---|
committer | Yorick van Pelt <yorick@yorickvanpelt.nl> | 2020-10-01 11:58:32 +0200 |
commit | 1ef22a5d1f9839a2ade975e75b1661c1111d01c8 (patch) | |
tree | d42ee3c90259514eeef744b04155db85eb0b0508 /pkgs/servers/nosql | |
parent | 302ef60620d277fc87a8aa58c5c561b62c925651 (diff) |
victoriametrics: add passthru.tests
Diffstat (limited to 'pkgs/servers/nosql')
-rw-r--r-- | pkgs/servers/nosql/victoriametrics/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/nosql/victoriametrics/default.nix b/pkgs/servers/nosql/victoriametrics/default.nix index b41861768d867..d74a88474a6cc 100644 --- a/pkgs/servers/nosql/victoriametrics/default.nix +++ b/pkgs/servers/nosql/victoriametrics/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoPackage, fetchFromGitHub, nixosTests }: buildGoPackage rec { pname = "VictoriaMetrics"; @@ -15,6 +15,8 @@ buildGoPackage rec { buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/lib/buildinfo.Version=${version}" ]; + passthru.tests = { inherit (nixosTests) victoriametrics; }; + meta = with lib; { homepage = "https://victoriametrics.com/"; description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus"; |