summary refs log tree commit diff
path: root/nixos/modules/services/web-servers/phpfpm/default.nix
diff options
context:
space:
mode:
authorElis Hirwing <elis@hirwing.se>2019-06-27 20:38:28 +0200
committerElis Hirwing <elis@hirwing.se>2019-06-27 20:39:18 +0200
commit54645ce43a1cd2ecde5f1b6d035366b0311117cf (patch)
tree097cdfdd26d95e66f43efe975344d0062d147ac5 /nixos/modules/services/web-servers/phpfpm/default.nix
parentb5478fd1a2ef442a54c36031bf3a27a96b5ea31c (diff)
downloadnixpkgs-54645ce43a1cd2ecde5f1b6d035366b0311117cf.tar
nixpkgs-54645ce43a1cd2ecde5f1b6d035366b0311117cf.tar.gz
nixpkgs-54645ce43a1cd2ecde5f1b6d035366b0311117cf.tar.bz2
nixpkgs-54645ce43a1cd2ecde5f1b6d035366b0311117cf.tar.lz
nixpkgs-54645ce43a1cd2ecde5f1b6d035366b0311117cf.tar.xz
nixpkgs-54645ce43a1cd2ecde5f1b6d035366b0311117cf.tar.zst
nixpkgs-54645ce43a1cd2ecde5f1b6d035366b0311117cf.zip
nixos/phpfpm: Remove usage of undefined variable fpmCfg
Diffstat (limited to 'nixos/modules/services/web-servers/phpfpm/default.nix')
-rw-r--r--nixos/modules/services/web-servers/phpfpm/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/nixos/modules/services/web-servers/phpfpm/default.nix b/nixos/modules/services/web-servers/phpfpm/default.nix
index e424080ab1f..5c650210f9f 100644
--- a/nixos/modules/services/web-servers/phpfpm/default.nix
+++ b/nixos/modules/services/web-servers/phpfpm/default.nix
@@ -65,8 +65,8 @@ in {
 
             phpPackage = mkOption {
               type = types.package;
-              default = fpmCfg.phpPackage;
-              defaultText = "config.services.phpfpm.phpPackage";
+              default = pkgs.php;
+              defaultText = "pkgs.php";
               description = ''
                 The PHP package to use for running this PHP-FPM pool.
               '';
@@ -74,10 +74,9 @@ in {
 
             phpOptions = mkOption {
               type = types.lines;
-              default = fpmCfg.phpOptions;
-              defaultText = "config.services.phpfpm.phpOptions";
+              default = "";
               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.
               '';
             };