mutt: use "sendmail" instead of "/usr/bin/sendmail"

That way sending mail with mutt works on NixOS too, without having to
manually change mutt's config on your system. sendmail will be found in
$PATH at runtime, and thus the setuid wrapper will be used, if
available.
This commit is contained in:
Bjørn Forsman 2015-04-12 00:31:08 +02:00
parent 11ff78da80
commit 6e0d0636a1

View file

@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-mailpath=" "--enable-smtp"
# Look in $PATH at runtime, instead of hardcoding /usr/bin/sendmail
"ac_cv_path_SENDMAIL=sendmail"
# This allows calls with "-d N", that output debug info into ~/.muttdebug*
"--enable-debug"