about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-07-04 17:34:37 +0200
committerIgor Pashev <pashev.igor@gmail.com>2014-07-04 17:34:37 +0200
commitd4a320cd1234d9efcb588e3abe95f40a5c4b6c24 (patch)
tree05baae3276ceb5bcd78251dc1b49740d2b9f2384
parent8cf2cd5d1163c20c74c0d0a7e535f3d0a7717093 (diff)
downloadnixlib-d4a320cd1234d9efcb588e3abe95f40a5c4b6c24.tar
nixlib-d4a320cd1234d9efcb588e3abe95f40a5c4b6c24.tar.gz
nixlib-d4a320cd1234d9efcb588e3abe95f40a5c4b6c24.tar.bz2
nixlib-d4a320cd1234d9efcb588e3abe95f40a5c4b6c24.tar.lz
nixlib-d4a320cd1234d9efcb588e3abe95f40a5c4b6c24.tar.xz
nixlib-d4a320cd1234d9efcb588e3abe95f40a5c4b6c24.tar.zst
nixlib-d4a320cd1234d9efcb588e3abe95f40a5c4b6c24.zip
Updated Mediawiki to 1.23.1
-rw-r--r--nixos/modules/services/web-servers/apache-httpd/mediawiki.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
index 7d59c13b9575..7984294e6315 100644
--- a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
@@ -72,11 +72,11 @@ let
 
   # Unpack Mediawiki and put the config file in its root directory.
   mediawikiRoot = pkgs.stdenv.mkDerivation rec {
-    name= "mediawiki-1.20.8";
+    name= "mediawiki-1.23.1";
 
     src = pkgs.fetchurl {
-      url = "http://download.wikimedia.org/mediawiki/1.20/${name}.tar.gz";
-      sha256 = "0yfmh5vnfbgpvicfqh7nh4hwdk4qbc6gfniv02vchkg5al0nn7ag";
+      url = "http://download.wikimedia.org/mediawiki/1.23/${name}.tar.gz";
+      sha256 = "07z5j8d988cdg4ml4n0vs9fwmj0p594ibbqdid16faxwqm52dkhl";
     };
 
     skins = config.skins;
@@ -93,9 +93,10 @@ let
         ensureDir $out
         cp -r * $out
         cp ${mediawikiConfig} $out/LocalSettings.php
-        sed -i 's|/bin/bash|${pkgs.stdenv.shell}|' \
-          $out/maintenance/fuzz-tester.php \
-          $out/bin/ulimit.sh \
+        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/GlobalFunctions.php
       '';
   };