forked from mirrors/nixpkgs
moodle: reference nixos test in passthru.tests
This commit is contained in:
parent
6d265da7ba
commit
03694db503
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue