phpfpm module: set correct nixos sendmail path
This commit is contained in:
parent
621e7a9945
commit
323d0fdd5a
@ -27,9 +27,12 @@ let
|
||||
|
||||
phpIni = pkgs.runCommand "php.ini" {
|
||||
inherit (cfg) phpPackage phpOptions;
|
||||
passAsFile = [ "phpOptions" ];
|
||||
nixDefaults = ''
|
||||
sendmail_path = "/run/wrappers/bin/sendmail -t -i"
|
||||
'';
|
||||
passAsFile = [ "nixDefaults" "phpOptions" ];
|
||||
} ''
|
||||
cat $phpPackage/etc/php.ini $phpOptionsPath > $out
|
||||
cat $phpPackage/etc/php.ini $nixDefaultsPath $phpOptionsPath > $out
|
||||
'';
|
||||
|
||||
in {
|
||||
|
Loading…
Reference in New Issue
Block a user