mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
matrix-conduit: add NixOS Test to passthru.tests
This commit is contained in:
parent
0893176e14
commit
fd95e78bd2
@ -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/";
|
||||
|
Loading…
Reference in New Issue
Block a user