git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #105923 from KAction/mmh-static

mmh: fix static build

commit7abb5bd5efb8a5e51f6b1301bff594e27243ed50 authorGuillaume Girol <symphorien@users.noreply.github.com> dateTue 5 Jan 2021, 20:29 (6 years ago) parentf3e84c4600212b
1 file changed+5
pkgs/applications/networking/mailreaders/mmh/default.nix+5
pkgs/applications/networking/mailreaders/mmh/default.nix+5
@@ -10,6 +10,11 @@ in stdenv.mkDerivation rec {
1010 sha256 = "1q97p4g3f1q2m567i2dbx7mm7ixw3g91ww2rymwj42cxk9iyizhv";
1111 };
1212
13+ postPatch = ''
14+ substituteInPlace sbr/Makefile.in \
15+ --replace "ar " "${stdenv.cc.targetPrefix}ar "
16+ '';
17+
1318 buildInputs = [ ncurses ];
1419 nativeBuildInputs = [ autoreconfHook flex ];
1520