Add sendmail support
This commit is contained in:
parent
6aa4739a8d
commit
decfb482fd
|
@ -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 ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue