phpfpm module: set correct nixos sendmail path
This commit is contained in:
parent
621e7a9945
commit
323d0fdd5a
1 changed files with 5 additions and 2 deletions
|
@ -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 a new issue