Merge pull request #203162 from mweinelt/moodle-passthru-test

moodle: reference nixos test in passthru.tests
This commit is contained in:
figsoda 2022-11-26 23:49:28 -05:00 committed by GitHub
commit 11edd8f1fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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