summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/mailreaders
diff options
context:
space:
mode:
authorDmitry Bogatov <git#v1@kaction.cc>2020-11-30 00:00:00 -0500
committerDmitry Bogatov <git#v1@kaction.cc>2021-01-01 00:00:00 +0000
commit600212b787be47568970538b8c619c2bf7191ab4 (patch)
tree4571289078f33c70f45f3258d5afdaa338cb7df4 /pkgs/applications/networking/mailreaders
parentef7116f203e663b20b3e908c60dd691f68f8f089 (diff)
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 ];