Revert "nixos/phpfpm: Remove usage of undefined variable fpmCfg"

This reverts commit 54645ce43a.
This commit is contained in:
Aaron Andersen 2019-06-28 21:47:17 -04:00
parent 8f6c65fa04
commit 4b98e262a0

View file

@ -65,8 +65,8 @@ in {
phpPackage = mkOption {
type = types.package;
default = pkgs.php;
defaultText = "pkgs.php";
default = fpmCfg.phpPackage;
defaultText = "config.services.phpfpm.phpPackage";
description = ''
The PHP package to use for running this PHP-FPM pool.
'';
@ -74,9 +74,10 @@ in {
phpOptions = mkOption {
type = types.lines;
default = "";
default = fpmCfg.phpOptions;
defaultText = "config.services.phpfpm.phpOptions";
description = ''
Options appended to the PHP configuration file <filename>php.ini</filename> used for this PHP-FPM pool.
"Options appended to the PHP configuration file <filename>php.ini</filename> used for this PHP-FPM pool."
'';
};