summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien@users.noreply.github.com>2021-01-05 20:29:26 +0000
committerGitHub <noreply@github.com>2021-01-05 20:29:26 +0000
commit7abb5bd5efb8a5e51f6b1301bff594e27243ed50 (patch)
treec53f299da31ce99559f54b0ca6b76a78fc88d0e6 /pkgs/applications/networking/mailreaders
parentf3e84c4d422381fa8f119693bbb289ce79c542fb (diff)
parent600212b787be47568970538b8c619c2bf7191ab4 (diff)
Merge pull request #105923 from KAction/mmh-static
mmh: fix static build
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r--pkgs/applications/networking/mailreaders/mmh/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/mmh/default.nix b/pkgs/applications/networking/mailreaders/mmh/default.nix
index 7d6254ed13cc..6bd977bd319b 100644
--- a/pkgs/applications/networking/mailreaders/mmh/default.nix
+++ b/pkgs/applications/networking/mailreaders/mmh/default.nix
@@ -10,6 +10,11 @@ in stdenv.mkDerivation rec {
sha256 = "1q97p4g3f1q2m567i2dbx7mm7ixw3g91ww2rymwj42cxk9iyizhv";
};
+ postPatch = ''
+ substituteInPlace sbr/Makefile.in \
+ --replace "ar " "${stdenv.cc.targetPrefix}ar "
+ '';
+
buildInputs = [ ncurses ];
nativeBuildInputs = [ autoreconfHook flex ];