forked from mirrors/nixpkgs
mailutils: fix path to sendmail for local mail delivery
Re-apply patch originally introduced in23da6f9ca4
("mailutils: fix for sendmail path"), fixing regression introduced in27a9ef8709
("mailutils: fix build break"). Fixes #21008. Closes #38708. [Bjørn: modify/extend commit message.]
This commit is contained in:
parent
800cb8ae71
commit
b2b44c9e9f
|
@ -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 [
|
||||
|
|
Loading…
Reference in a new issue