Merge pull request #10861 from sjourdois/tig

tig: add libiconv dep on darwin
This commit is contained in:
Arseniy Seroka 2015-11-08 17:12:50 +03:00
commit bf5466b83d

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, ncurses, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45
, readline, makeWrapper, git
, readline, makeWrapper, git, libiconv
}:
stdenv.mkDerivation rec {
@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "0bw5wivswwh7vx897q8xc2cqgkqhdzk8gh6fnav2kf34sngigiah";
};
buildInputs = [ ncurses asciidoc xmlto docbook_xsl readline git makeWrapper ];
buildInputs = [ ncurses asciidoc xmlto docbook_xsl readline git makeWrapper ]
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
preConfigure = ''
export XML_CATALOG_FILES='${docbook_xsl}/xml/xsl/docbook/catalog.xml ${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml'