* bash needs texinfo if you want the manpages / info docs.

svn path=/nixpkgs/trunk/; revision=12363
This commit is contained in:
Eelco Dolstra 2008-07-16 13:36:41 +00:00
parent 84d3e027b8
commit dd91141a06
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, bison, interactive ? false, ncurses ? null}:
{stdenv, fetchurl, bison, interactive ? false, ncurses ? null, texinfo ? null}:
assert interactive -> ncurses != null;
@ -17,8 +17,10 @@ stdenv.mkDerivation {
./winsize.patch
];
# !!! only needed for bash-3.2 (because of bash32-001.patch)
buildInputs = [bison] ++ stdenv.lib.optional interactive ncurses;
# !!! Bison is only needed for bash-3.2 (because of bash32-001.patch)
buildInputs = [bison]
++ stdenv.lib.optional (texinfo != null) texinfo
++ stdenv.lib.optional interactive ncurses;
meta = {
homepage = http://www.gnu.org/software/bash/;

View file

@ -1208,7 +1208,7 @@ let pkgs = rec {
}));
bashInteractive = appendToName "interactive" (import ../shells/bash {
inherit fetchurl stdenv ncurses;
inherit fetchurl stdenv ncurses texinfo;
bison = bison23;
interactive = true;
});