weechat: help weechat find libiconv on darwin

This commit is contained in:
Jude Taylor 2015-08-21 14:02:39 -07:00
parent cffa6cde87
commit 9941e181e9

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, ncurses, openssl, perl, python, aspell, gnutls
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile
, pythonPackages, cmake, makeWrapper, libobjc
, pythonPackages, cmake, makeWrapper, libobjc, libiconv
, extraBuildInputs ? [] }:
stdenv.mkDerivation rec {
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "0kb8mykhzm7zcxsl6l6cia2n4nc9akiysg0v6d8xb51p3x002ibw";
};
cmakeFlags = stdenv.lib.optional stdenv.isDarwin
"-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib";
buildInputs =
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper