about summary refs log tree commit diff
path: root/pkgs/servers/search
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2024-06-04 00:48:41 +0100
committerJonathan Davies <jpds@protonmail.com>2024-06-06 00:49:40 +0100
commite81519a8589fc63c2f47b35a5496c7775a977163 (patch)
tree9bce30eec66c79e8d984add8e69091f2d1de0e2a /pkgs/servers/search
parentc31c69206f4dd758f6eff9cf4b563f2e325ea3f4 (diff)
quickwit: Added nixosTests to passthru.tests
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r--pkgs/servers/search/quickwit/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/servers/search/quickwit/default.nix b/pkgs/servers/search/quickwit/default.nix
index 39cf1b7c1548c..095bfc679aa47 100644
--- a/pkgs/servers/search/quickwit/default.nix
+++ b/pkgs/servers/search/quickwit/default.nix
@@ -2,6 +2,7 @@
 , lib
 , fetchFromGitHub
 , rustPlatform
+, nixosTests
 , nix-update-script
 , protobuf
 , rust-jemalloc-sys
@@ -53,7 +54,13 @@ rustPlatform.buildRustPackage rec {
   PROTOC = "${protobuf}/bin/protoc";
   PROTOC_INCLUDE = "${protobuf}/include";
 
-  passthru.updateScript = nix-update-script { };
+  passthru = {
+    tests = {
+      inherit (nixosTests) quickwit;
+      inherit (nixosTests.vector) syslog-quickwit;
+    };
+    updateScript = nix-update-script { };
+  };
 
   checkFlags = [
     # tries to make a network access