Add sendmail support

This commit is contained in:
Jeremy Penner 2020-06-14 22:40:13 -04:00
parent 6aa4739a8d
commit decfb482fd

View file

@ -46,6 +46,7 @@ with pkgs; let
cd .. cd ..
sed -i 's:^extension_dir = .*:extension_dir = "'$("$out/bin/php-config" --extension-dir)'":' "$out/lib/php.ini" 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 "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 ]; buildInputs = [ zlib bzip2 curlFull libmcrypt mysql57 libxml2 lzma m_libjpeg m_libpng autoconf automake ];
}; };