diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-10-01 20:18:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 20:18:22 -0500 |
commit | cbf2b8880b6fbe764cf40df7c0078536929e6cb6 (patch) | |
tree | dacb0747561b0ce95aa05d8c8841aa1e0ba7f00d /pkgs/servers/nosql | |
parent | 5b09b92a16f2bafbfcba4fbdfe7084a2b2d97d75 (diff) | |
parent | 1ef22a5d1f9839a2ade975e75b1661c1111d01c8 (diff) |
Merge pull request #99250 from yorickvP/victoriametrics-auto-test
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 53d009b644f5f..a6c3e4c60d1b6 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"; |