mblaze: Add patch to fix Darwin build

This commit is contained in:
Silvan Mosberger 2019-03-28 22:47:56 +01:00
parent 72164eb57f
commit 4f841f235c
No known key found for this signature in database
GPG key ID: 9424360B4B85C9E7

View file

@ -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 = ''