tig: enable command line history/completion support

Since version 2.0, tig can use readline for history/completion support,
so add readline as a build input.

Increases closure size from 53 MiB to 54 MiB.
This commit is contained in:
Bjørn Forsman 2014-05-25 13:28:06 +02:00
parent 3b267d77a8
commit ba048baaff
2 changed files with 5 additions and 3 deletions

View file

@ -69,7 +69,7 @@ rec {
};
tig = import ./tig {
inherit stdenv fetchurl ncurses asciidoc xmlto docbook_xsl docbook_xml_dtd_45;
inherit stdenv fetchurl ncurses asciidoc xmlto docbook_xsl docbook_xml_dtd_45 readline;
};
hub = import ./hub {

View file

@ -1,4 +1,6 @@
{ stdenv, fetchurl, ncurses, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45 }:
{ stdenv, fetchurl, ncurses, asciidoc, xmlto, docbook_xsl, docbook_xml_dtd_45
, readline
}:
stdenv.mkDerivation rec {
name = "tig-2.0.2";
@ -8,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0gi7iqiij37b0d3izxymxaw5ns2mv1y7qfic0fhl7xj4s2rz075r";
};
buildInputs = [ ncurses asciidoc xmlto docbook_xsl ];
buildInputs = [ ncurses asciidoc xmlto docbook_xsl readline ];
preConfigure = ''
export XML_CATALOG_FILES='${docbook_xsl}/xml/xsl/docbook/catalog.xml ${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml'