mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #22236 from Baughn/mediawiki
apache-httpd: Add 'extensions' config option for mediawiki
This commit is contained in:
commit
248a06695f
@ -91,12 +91,16 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
skins = config.skins;
|
skins = config.skins;
|
||||||
|
extensions = config.extensions;
|
||||||
|
|
||||||
buildPhase =
|
buildPhase =
|
||||||
''
|
''
|
||||||
for skin in $skins; do
|
for skin in $skins; do
|
||||||
cp -prvd $skin/* skins/
|
cp -prvd $skin/* skins/
|
||||||
done
|
done
|
||||||
|
for extension in $extensions; do
|
||||||
|
cp -prvd $extension/* extensions/
|
||||||
|
done
|
||||||
''; # */
|
''; # */
|
||||||
|
|
||||||
installPhase =
|
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 {
|
extraConfig = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user