Commit 24212520 authored by Renato Alves's avatar Renato Alves Committed by Bjørn Forsman

mailutils: fix path to sendmail for local mail delivery

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

Fixes #21008.
Closes #38708.

[Bjørn: modify/extend commit message.]

(cherry picked from commit b2b44c9e9fbcfe1215cceec68a062e1fbbd80710)
parent d72aa275
{ 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 [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment