about summary refs log tree commit diff
path: root/pkgs/servers/matrix-conduit
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-12-18 11:31:02 -0500
committerfigsoda <figsoda@pm.me>2022-12-18 11:31:02 -0500
commitfd95e78bd2bad40386c3be7f73979c130f676aa7 (patch)
tree82fb42dfd14ed300040d1ab251ece49044b8ba0c /pkgs/servers/matrix-conduit
parent0893176e14865d016bd7744a5b084e8e878c6636 (diff)
matrix-conduit: add NixOS Test to passthru.tests
Diffstat (limited to 'pkgs/servers/matrix-conduit')
-rw-r--r--pkgs/servers/matrix-conduit/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/matrix-conduit/default.nix b/pkgs/servers/matrix-conduit/default.nix
index 165bdaf773722..20de61bbc834b 100644
--- a/pkgs/servers/matrix-conduit/default.nix
+++ b/pkgs/servers/matrix-conduit/default.nix
@@ -1,4 +1,4 @@
-{ lib, rustPlatform, fetchFromGitLab, stdenv, darwin }:
+{ lib, rustPlatform, fetchFromGitLab, stdenv, darwin, nixosTests }:
 
 rustPlatform.buildRustPackage rec {
   pname = "matrix-conduit";
@@ -24,6 +24,10 @@ rustPlatform.buildRustPackage rec {
   # tests failed on x86_64-darwin with SIGILL: illegal instruction
   doCheck = !(stdenv.isx86_64 && stdenv.isDarwin);
 
+  passthru.tests = {
+    inherit (nixosTests) matrix-conduit;
+  };
+
   meta = with lib; {
     description = "A Matrix homeserver written in Rust";
     homepage = "https://conduit.rs/";