matrix-conduit: add NixOS Test to passthru.tests

This commit is contained in:
figsoda 2022-12-18 11:31:02 -05:00
parent 0893176e14
commit fd95e78bd2

View File

@ -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/";