From dcac3ec730176549cd52a9a42db2001dc652c30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 7 May 2020 11:58:37 +0200 Subject: Remove overlay that overrides the php version --- modules/private/websites/chloe/integration.nix | 3 ++- modules/private/websites/chloe/production.nix | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/private/websites/chloe') diff --git a/modules/private/websites/chloe/integration.nix b/modules/private/websites/chloe/integration.nix index 6d16a86..e07c5bb 100644 --- a/modules/private/websites/chloe/integration.nix +++ b/modules/private/websites/chloe/integration.nix @@ -56,8 +56,9 @@ in { "pm.process_idle_timeout" = "60"; }; phpOptions = config.services.phpfpm.phpOptions + '' - extension=${pkgs.php}/lib/php/extensions/mysqli.so + extension=${pkgs.php72}/lib/php/extensions/mysqli.so ''; + phpPackage = pkgs.php72; }; system.activationScripts.chloe_integration = { deps = [ "wrappers" ]; diff --git a/modules/private/websites/chloe/production.nix b/modules/private/websites/chloe/production.nix index 067e8e7..5cfc40c 100644 --- a/modules/private/websites/chloe/production.nix +++ b/modules/private/websites/chloe/production.nix @@ -60,8 +60,9 @@ in { "pm.max_spare_servers" = "3"; }; phpOptions = config.services.phpfpm.phpOptions + '' - extension=${pkgs.php}/lib/php/extensions/mysqli.so + extension=${pkgs.php72}/lib/php/extensions/mysqli.so ''; + phpPackage = pkgs.php72; }; system.activationScripts.chloe_production = { deps = [ "wrappers" ]; -- cgit v1.2.3