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 let
version = "4.0.5"; version = "4.0.5";
@ -56,6 +56,10 @@ in stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.tests = {
inherit (nixosTests) moodle;
};
meta = with lib; { meta = with lib; {
description = description =
"Free and open-source learning management system (LMS) written in PHP"; "Free and open-source learning management system (LMS) written in PHP";