Commit 1e39b542 authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files

moodle: 4.1.2 -> 4.1.3

Fixes CVE-2023-30943 and CVE-2023-30944.

https://moodledev.io/general/releases/4.1/4.1.3
parent 203c6bea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }:

let
  version = "4.1.2";
  version = "4.1.3";

  versionParts = lib.take 2 (lib.splitVersion version);
  # 4.2 -> 402, 3.11 -> 311
@@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {

  src = fetchurl {
    url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
    sha256 = "sha256-ddXldOQLefV6Kjla+IeFwD50Vye4kholJD5R6X6A2Og=";
    hash = "sha256-JMK+nGgeBryC6I9cg1DD52gIGcPMAJ/xZxrC4a1R5Ps=";
  };

  phpConfig = writeText "config.php" ''