Point the "mail" command to use the system-wide mail.rc

As per the info page, the GNU "mail" command is supposed to default to SYSCONFDIR/mail.rc but this path doesn't make sense. Hardcode this to the systemwide path (/etc). This allows tools such as cron to make use of aliases.
This commit is contained in:
Jon Fineman 2021-12-29 17:29:21 -05:00 committed by GitHub
parent 12f1b91685
commit 4798a65015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,6 +47,7 @@ stdenv.mkDerivation rec {
"--with-gsasl"
"--with-mysql"
"--with-path-sendmail=${system-sendmail}/bin/sendmail"
"--with-mail-rc=/etc/mail.rc"
];
readmsg-tests = let