From 749caaef5bd6cfd2c843a4f2e9fc2d29952d2109 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 24 Aug 2021 23:44:50 +0200 Subject: [PATCH] nixos/postfixadmin: fix eval & pin to PHP 7.4 Even though some PHP8 compat fixes seem to be in the release that's packaged here, it seems as if there are still some minor issues[1]. [1] https://github.com/postfixadmin/postfixadmin/issues/395 --- nixos/modules/services/mail/postfixadmin.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/postfixadmin.nix b/nixos/modules/services/mail/postfixadmin.nix index 967e0e240550..f5c8efb3076c 100644 --- a/nixos/modules/services/mail/postfixadmin.nix +++ b/nixos/modules/services/mail/postfixadmin.nix @@ -138,7 +138,7 @@ in wantedBy = [ "multi-user.target" ]; path = [ pgsql.package - pkgs.utillinux + pkgs.util-linux ]; script = '' set -eu @@ -177,6 +177,7 @@ in services.phpfpm.pools.postfixadmin = { user = user; + phpPackage = pkgs.php74; phpOptions = '' error_log = 'stderr' log_errors = on