Unverified Commit 2d1f1aad authored by figsoda's avatar figsoda Committed by GitHub
Browse files

Merge pull request #203190 from NixOS/backport-203162-to-release-22.11

[Backport release-22.11] moodle: reference nixos test in passthru.tests
parents 12784680 2e0240c0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ 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";