From 4f841f235cefabfc77fba02456ff672a6977c1a1 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 28 Mar 2019 22:47:56 +0100 Subject: [PATCH] mblaze: Add patch to fix Darwin build --- .../networking/mailreaders/mblaze/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/mailreaders/mblaze/default.nix b/pkgs/applications/networking/mailreaders/mblaze/default.nix index 2da313364109..f00ec6e6566f 100644 --- a/pkgs/applications/networking/mailreaders/mblaze/default.nix +++ b/pkgs/applications/networking/mailreaders/mblaze/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, libiconv }: +{ stdenv, fetchFromGitHub, fetchpatch, libiconv }: stdenv.mkDerivation rec { name = "mblaze-${version}"; @@ -13,6 +13,13 @@ stdenv.mkDerivation rec { sha256 = "11x548dl2jy9cmgsakqrzfdq166whhk4ja7zkiaxrapkjmkf6pbh"; }; + patches = [ + (fetchpatch { + url = "https://github.com/leahneukirchen/mblaze/commit/53151f4f890f302291eb8d3375dec4f8ecb66ed7.patch"; + sha256 = "1mcyrh053iiyzdhgm09g5h3a77np496whnc7jr4agpk1nkbcpfxc"; + }) + ]; + makeFlags = "PREFIX=$(out)"; postInstall = ''