weechat: help weechat find libiconv on darwin
This commit is contained in:
parent
cffa6cde87
commit
9941e181e9
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, ncurses, openssl, perl, python, aspell, gnutls
|
{ stdenv, fetchurl, ncurses, openssl, perl, python, aspell, gnutls
|
||||||
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile
|
, zlib, curl , pkgconfig, libgcrypt, ruby, lua5, tcl, guile
|
||||||
, pythonPackages, cmake, makeWrapper, libobjc
|
, pythonPackages, cmake, makeWrapper, libobjc, libiconv
|
||||||
, extraBuildInputs ? [] }:
|
, extraBuildInputs ? [] }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0kb8mykhzm7zcxsl6l6cia2n4nc9akiysg0v6d8xb51p3x002ibw";
|
sha256 = "0kb8mykhzm7zcxsl6l6cia2n4nc9akiysg0v6d8xb51p3x002ibw";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cmakeFlags = stdenv.lib.optional stdenv.isDarwin
|
||||||
|
"-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib";
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
|
[ ncurses perl python openssl aspell gnutls zlib curl pkgconfig
|
||||||
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
|
libgcrypt ruby lua5 tcl guile pythonPackages.pycrypto makeWrapper
|
||||||
|
Loading…
x
Reference in New Issue
Block a user