nixos/mediawiki: pin php to 8.1

This commit is contained in:
Jörg Thalheim 2023-11-04 19:46:54 +01:00 committed by Jörg Thalheim
parent 915ad8a77b
commit a7c984b7a2

View File

@ -493,6 +493,8 @@ in
services.phpfpm.pools.mediawiki = {
inherit user group;
phpEnv.MEDIAWIKI_CONFIG = "${mediawikiConfig}";
# https://www.mediawiki.org/wiki/Compatibility
phpPackage = pkgs.php81;
settings = (if (cfg.webserver == "apache") then {
"listen.owner" = config.services.httpd.user;
"listen.group" = config.services.httpd.group;