mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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:
parent
3b267d77a8
commit
ba048baaff
2 changed files with 5 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue