From fd95e78bd2bad40386c3be7f73979c130f676aa7 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sun, 18 Dec 2022 11:31:02 -0500 Subject: [PATCH] matrix-conduit: add NixOS Test to passthru.tests --- pkgs/servers/matrix-conduit/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/matrix-conduit/default.nix b/pkgs/servers/matrix-conduit/default.nix index 165bdaf77372..20de61bbc834 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/";