From decfb482fd373c37086aa785454bdf6e05c68ad1 Mon Sep 17 00:00:00 2001 From: Jeremy Penner Date: Sun, 14 Jun 2020 22:40:13 -0400 Subject: [PATCH] Add sendmail support --- default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/default.nix b/default.nix index bfe12da..b85509f 100644 --- a/default.nix +++ b/default.nix @@ -46,6 +46,7 @@ with pkgs; let cd .. sed -i 's:^extension_dir = .*:extension_dir = "'$("$out/bin/php-config" --extension-dir)'":' "$out/lib/php.ini" echo "extension=suhosin.so" >> "$out/lib/php.ini" + echo "sendmail_path=/run/wrappers/bin/sendmail -t -i" >> "$out/lib/php.ini" ''; buildInputs = [ zlib bzip2 curlFull libmcrypt mysql57 libxml2 lzma m_libjpeg m_libpng autoconf automake ]; };