nixos/phpfpm: Remove usage of undefined variable fpmCfg

This commit is contained in:
Elis Hirwing 2019-06-27 20:38:28 +02:00
parent b5478fd1a2
commit 54645ce43a
No known key found for this signature in database
GPG key ID: D57EFA625C9A925F

View file

@ -65,8 +65,8 @@ in {
phpPackage = mkOption { phpPackage = mkOption {
type = types.package; type = types.package;
default = fpmCfg.phpPackage; default = pkgs.php;
defaultText = "config.services.phpfpm.phpPackage"; defaultText = "pkgs.php";
description = '' description = ''
The PHP package to use for running this PHP-FPM pool. The PHP package to use for running this PHP-FPM pool.
''; '';
@ -74,10 +74,9 @@ in {
phpOptions = mkOption { phpOptions = mkOption {
type = types.lines; type = types.lines;
default = fpmCfg.phpOptions; default = "";
defaultText = "config.services.phpfpm.phpOptions";
description = '' 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.
''; '';
}; };