phpfpm module: set correct nixos sendmail path

This commit is contained in:
Franz Pletz 2017-03-09 20:19:28 +01:00
parent 621e7a9945
commit 323d0fdd5a
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

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