Merge pull request #164726 from r-ryantm/auto-update/moodle

moodle: 3.11.5 -> 3.11.6
This commit is contained in:
ajs124 2022-04-11 21:59:23 +01:00 committed by GitHub
commit af4a018878
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, writeText, plugins ? [ ] }: { lib, stdenv, fetchurl, writeText, plugins ? [ ] }:
let let
version = "3.11.5"; version = "3.11.6";
stableVersion = lib.concatStrings (lib.take 2 (lib.splitVersion version)); stableVersion = lib.concatStrings (lib.take 2 (lib.splitVersion version));
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
@ -10,7 +10,7 @@ in stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz"; url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
sha256 = "sha256-KFitrMThEcx7pU/+jmP8casEyg6/FlhpvjfIjf31vw0="; sha256 = "sha256-g3qHYkxiXb18vJ23THUw8ej+s5SgIkJpmjQmmARwQhs=";
}; };
phpConfig = writeText "config.php" '' phpConfig = writeText "config.php" ''