3
0
Fork 0
forked from mirrors/nixpkgs

mediawiki: 1.29.1 -> 1.31.1

1.29.1 is out of support and has security vulnerabilities. 1.31.1 is current LTS.
This commit is contained in:
Red Davies 2018-12-03 21:04:08 +00:00
parent 20f3c94a77
commit 4173b845ca

View file

@ -83,11 +83,11 @@ let
# Unpack Mediawiki and put the config file in its root directory. # Unpack Mediawiki and put the config file in its root directory.
mediawikiRoot = pkgs.stdenv.mkDerivation rec { mediawikiRoot = pkgs.stdenv.mkDerivation rec {
name= "mediawiki-1.29.1"; name= "mediawiki-1.31.1";
src = pkgs.fetchurl { src = pkgs.fetchurl {
url = "https://releases.wikimedia.org/mediawiki/1.29/${name}.tar.gz"; url = "https://releases.wikimedia.org/mediawiki/1.31/${name}.tar.gz";
sha256 = "03mpazbxvb011s2nmlw5p6dc43yjgl5yrsilmj1imyykm57bwb3m"; sha256 = "13x48clij21cmysjkpnx68vggchrdasqp7b290j87xlfgjhdhnnf";
}; };
skins = config.skins; skins = config.skins;
@ -111,7 +111,7 @@ let
sed -i \ sed -i \
-e 's|/bin/bash|${pkgs.bash}/bin/bash|g' \ -e 's|/bin/bash|${pkgs.bash}/bin/bash|g' \
-e 's|/usr/bin/timeout|${pkgs.coreutils}/bin/timeout|g' \ -e 's|/usr/bin/timeout|${pkgs.coreutils}/bin/timeout|g' \
$out/includes/limit.sh \ $out/includes/shell/limit.sh \
$out/includes/GlobalFunctions.php $out/includes/GlobalFunctions.php
''; '';
}; };