summary refs log tree commit diff
path: root/pkgs/tools/networking/mailutils
diff options
context:
space:
mode:
authorJon Fineman <41974830+JonJFineman@users.noreply.github.com>2021-12-29 17:29:21 -0500
committerGitHub <noreply@github.com>2021-12-29 17:29:21 -0500
commit4798a65015ecb197d9a50050a9041fa7aeabc400 (patch)
treee7ca6269c81d5b81fd31056b0c9740cad42a9b53 /pkgs/tools/networking/mailutils
parent12f1b91685be3f259051bcc9bf7f5480e6007621 (diff)
downloadnixpkgs-4798a65015ecb197d9a50050a9041fa7aeabc400.tar
nixpkgs-4798a65015ecb197d9a50050a9041fa7aeabc400.tar.gz
nixpkgs-4798a65015ecb197d9a50050a9041fa7aeabc400.tar.bz2
nixpkgs-4798a65015ecb197d9a50050a9041fa7aeabc400.tar.lz
nixpkgs-4798a65015ecb197d9a50050a9041fa7aeabc400.tar.xz
nixpkgs-4798a65015ecb197d9a50050a9041fa7aeabc400.tar.zst
nixpkgs-4798a65015ecb197d9a50050a9041fa7aeabc400.zip
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.
Diffstat (limited to 'pkgs/tools/networking/mailutils')
-rw-r--r--pkgs/tools/networking/mailutils/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/networking/mailutils/default.nix b/pkgs/tools/networking/mailutils/default.nix
index 74d4b61064b..28868e85373 100644
--- a/pkgs/tools/networking/mailutils/default.nix
+++ b/pkgs/tools/networking/mailutils/default.nix
@@ -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