summary refs log tree commit diff
path: root/nixos/modules/services/web-servers
diff options
context:
space:
mode:
authorRed Davies <red@infect.me>2018-12-03 21:04:08 +0000
committerRed Davies <red@infect.me>2018-12-03 21:04:08 +0000
commit4173b845cae89fb527d85eb5a60145fc5085055c (patch)
tree4c1caf1d6881ebf3a40d57c9f181af9189caba5c /nixos/modules/services/web-servers
parent20f3c94a77bf4258a3fc9732719144558475ec73 (diff)
downloadnixpkgs-4173b845cae89fb527d85eb5a60145fc5085055c.tar
nixpkgs-4173b845cae89fb527d85eb5a60145fc5085055c.tar.gz
nixpkgs-4173b845cae89fb527d85eb5a60145fc5085055c.tar.bz2
nixpkgs-4173b845cae89fb527d85eb5a60145fc5085055c.tar.lz
nixpkgs-4173b845cae89fb527d85eb5a60145fc5085055c.tar.xz
nixpkgs-4173b845cae89fb527d85eb5a60145fc5085055c.tar.zst
nixpkgs-4173b845cae89fb527d85eb5a60145fc5085055c.zip
mediawiki: 1.29.1 -> 1.31.1
1.29.1 is out of support and has security vulnerabilities. 1.31.1 is current LTS.
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/mediawiki.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
index 4269f6cfb08..e871ae6ff15 100644
--- a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
@@ -83,11 +83,11 @@ let
 
   # Unpack Mediawiki and put the config file in its root directory.
   mediawikiRoot = pkgs.stdenv.mkDerivation rec {
-    name= "mediawiki-1.29.1";
+    name= "mediawiki-1.31.1";
 
     src = pkgs.fetchurl {
-      url = "https://releases.wikimedia.org/mediawiki/1.29/${name}.tar.gz";
-      sha256 = "03mpazbxvb011s2nmlw5p6dc43yjgl5yrsilmj1imyykm57bwb3m";
+      url = "https://releases.wikimedia.org/mediawiki/1.31/${name}.tar.gz";
+      sha256 = "13x48clij21cmysjkpnx68vggchrdasqp7b290j87xlfgjhdhnnf";
     };
 
     skins = config.skins;
@@ -111,7 +111,7 @@ let
         sed -i \
         -e 's|/bin/bash|${pkgs.bash}/bin/bash|g' \
         -e 's|/usr/bin/timeout|${pkgs.coreutils}/bin/timeout|g' \
-          $out/includes/limit.sh \
+          $out/includes/shell/limit.sh \
           $out/includes/GlobalFunctions.php
       '';
   };