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; + }; }; };