3
0
Fork 0
forked from mirrors/nixpkgs

mailutils: fix path to sendmail for local mail delivery

Re-apply patch originally introduced in 23da6f9ca4 ("mailutils: fix
for sendmail path"), fixing regression introduced in 27a9ef8709
("mailutils: fix build break").

Fixes #21008.
Closes #38708.

[Bjørn: modify/extend commit message.]
This commit is contained in:
Renato Alves 2018-04-11 00:09:57 +02:00 committed by Bjørn Forsman
parent 800cb8ae71
commit b2b44c9e9f

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, autoreconfHook, dejagnu, gettext, pkgconfig
, gdbm, pam, readline, ncurses, gnutls, guile, texinfo, gnum4, sasl, fribidi, nettools
, python, gss, mysql }:
, python, gss, mysql, sendmailPath ? "/run/wrappers/bin/sendmail" }:
let
p = "https://raw.githubusercontent.com/gentoo/gentoo/9c921e89d51876fd876f250324893fd90c019326/net-mail/mailutils/files";
@ -41,6 +41,7 @@ in stdenv.mkDerivation rec {
"--with-gssapi"
"--with-gsasl"
"--with-mysql"
"--with-path-sendmail=${sendmailPath}"
];
readmsg-tests = stdenv.lib.optionals doCheck [