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
This commit is contained in:
Maximilian Bosch 2021-08-24 23:44:50 +02:00
parent 52a6502174
commit 749caaef5b
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -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