From 46dce21bffdca9167fed9731f8cde75ee4531ac4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Jul 2012 21:02:54 +0200 Subject: [PATCH] MediaWiki: Generalise the skins support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new option ‘skins’ allows specifying a list of directories providing skins to be added to the MediaWiki installation. The ‘defaultSkin’ option just sets the default. --- .../web-servers/apache-httpd/mediawiki.nix | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/modules/services/web-servers/apache-httpd/mediawiki.nix b/modules/services/web-servers/apache-httpd/mediawiki.nix index d45d477b671b..9f321b173d3e 100644 --- a/modules/services/web-servers/apache-httpd/mediawiki.nix +++ b/modules/services/web-servers/apache-httpd/mediawiki.nix @@ -4,16 +4,6 @@ with pkgs.lib; let - src_clean_skin = pkgs.fetchurl { - url = "http://lastlog.de/misc/clean-1.01.tar.gz"; - sha256 = "5fb1736b64b33ca3429d035f1358cf8217da2d02019d8a80b14c7985367f659f"; - }; - - src_nixos_skin = pkgs.fetchurl { - url = "http://lastlog.de/misc/nixos-1.0.tar.gz"; - sha256 = "413b0f451bde81ac2dd0bede17dd088f9abcd0f3cea1722279311ca648a855cf"; - }; - mediawikiConfig = pkgs.writeText "LocalSettings.php" ''