mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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:
parent
11ff78da80
commit
6e0d0636a1
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue