diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-06-27 15:00:58 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2022-06-27 15:00:58 +0000 |
commit | a8320c3361b50baf06659550347b355f413efd48 (patch) | |
tree | 7c1c5389a63ead0a2266eedea57e53ddf9792ca4 /pkgs/applications/networking/mailreaders | |
parent | 819e4d63fc7f337a822a049fd055cd7615a5e0d6 (diff) |
neomutt: fix sendmail default value
NeoMutt doesn't use autoconf any more, so the autoconf variable in configureFlags wasn't doing anything. With the new autosetup build system, there doesn't seem to be a way to override the default sendmail location, so we have to patch it.
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r-- | pkgs/applications/networking/mailreaders/neomutt/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/networking/mailreaders/neomutt/default.nix b/pkgs/applications/networking/mailreaders/neomutt/default.nix index 2bcfd839e2854..9eb377f1b98e3 100644 --- a/pkgs/applications/networking/mailreaders/neomutt/default.nix +++ b/pkgs/applications/networking/mailreaders/neomutt/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; postPatch = '' + substituteInPlace auto.def --replace /usr/sbin/sendmail sendmail substituteInPlace contrib/smime_keys \ --replace /usr/bin/openssl ${openssl}/bin/openssl @@ -60,8 +61,6 @@ stdenv.mkDerivation rec { # To make it not reference .dev outputs. See: # https://github.com/neomutt/neomutt/pull/2367 "--disable-include-path-in-cflags" - # Look in $PATH at runtime, instead of hardcoding /usr/bin/sendmail - "ac_cv_path_SENDMAIL=sendmail" "--zlib" ]; |