From b594aeb24e4b5be2b9047f9f4b9f5501abf1d189 Mon Sep 17 00:00:00 2001 From: Robin Date: Sun, 28 Jan 2024 00:32:34 -0500 Subject: [PATCH] mautrix-discord: link to NixOS module test --- pkgs/servers/mautrix-discord/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/mautrix-discord/default.nix b/pkgs/servers/mautrix-discord/default.nix index 73be9bb8ed1d8..ace89444122ef 100644 --- a/pkgs/servers/mautrix-discord/default.nix +++ b/pkgs/servers/mautrix-discord/default.nix @@ -4,6 +4,7 @@ , olm , nix-update-script , testers +, nixosTests , mautrix-discord }: @@ -29,8 +30,11 @@ buildGoModule rec { passthru = { updateScript = nix-update-script { }; - tests.version = testers.testVersion { - package = mautrix-discord; + tests = { + mautrix-discord = nixosTests.mautrix-discord; + version = testers.testVersion { + package = mautrix-discord; + }; }; };