diff options
author | goibhniu <cillian.deroiste@gmail.com> | 2017-05-01 19:17:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 19:17:36 +0200 |
commit | 248a06695f5882206275a2cc2518ffb5746404f3 (patch) | |
tree | fea62deafc89328646244eb1bc574824b3a7125d /nixos/modules/services/web-servers/apache-httpd | |
parent | 63e3711ee53e9a14e41fe301da057d83ed7d5851 (diff) | |
parent | 9b2d4a9fce1e1f001160f812f26494144d36d775 (diff) | |
download | nixlib-248a06695f5882206275a2cc2518ffb5746404f3.tar nixlib-248a06695f5882206275a2cc2518ffb5746404f3.tar.gz nixlib-248a06695f5882206275a2cc2518ffb5746404f3.tar.bz2 nixlib-248a06695f5882206275a2cc2518ffb5746404f3.tar.lz nixlib-248a06695f5882206275a2cc2518ffb5746404f3.tar.xz nixlib-248a06695f5882206275a2cc2518ffb5746404f3.tar.zst nixlib-248a06695f5882206275a2cc2518ffb5746404f3.zip |
Merge pull request #22236 from Baughn/mediawiki
apache-httpd: Add 'extensions' config option for mediawiki
Diffstat (limited to 'nixos/modules/services/web-servers/apache-httpd')
-rw-r--r-- | nixos/modules/services/web-servers/apache-httpd/mediawiki.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix index 1ed489bcb095..405dc0307fac 100644 --- a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix +++ b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix @@ -91,12 +91,16 @@ let }; skins = config.skins; + extensions = config.extensions; buildPhase = '' for skin in $skins; do cp -prvd $skin/* skins/ done + for extension in $extensions; do + cp -prvd $extension/* extensions/ + done ''; # */ installPhase = @@ -287,6 +291,16 @@ in ''; }; + extensions = mkOption { + default = []; + type = types.listOf types.path; + description = + '' + List of paths whose content is copied to the 'extensions' + subdirectory of the MediaWiki installation. + ''; + }; + extraConfig = mkOption { type = types.lines; default = ""; |