diff --git a/pkgs/servers/web-apps/moodle/default.nix b/pkgs/servers/web-apps/moodle/default.nix index efaf274c0947..02bb13f5f7e3 100644 --- a/pkgs/servers/web-apps/moodle/default.nix +++ b/pkgs/servers/web-apps/moodle/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, writeText, plugins ? [ ] }: +{ lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }: let version = "4.0.5"; @@ -56,6 +56,10 @@ in stdenv.mkDerivation rec { runHook postInstall ''; + passthru.tests = { + inherit (nixosTests) moodle; + }; + meta = with lib; { description = "Free and open-source learning management system (LMS) written in PHP";