moodle: reference nixos test in passthru.tests

This commit is contained in:
Martin Weinelt 2022-11-27 02:24:40 +01:00
parent 6d265da7ba
commit 03694db503

View File

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