From dd91141a06860bea45b0e4a4a33f4c3980965325 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 16 Jul 2008 13:36:41 +0000 Subject: * bash needs texinfo if you want the manpages / info docs. svn path=/nixpkgs/trunk/; revision=12363 --- pkgs/shells/bash/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pkgs/shells/bash/default.nix') diff --git a/pkgs/shells/bash/default.nix b/pkgs/shells/bash/default.nix index 3e33292e7428..07d4de24da6f 100644 --- a/pkgs/shells/bash/default.nix +++ b/pkgs/shells/bash/default.nix @@ -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/; -- cgit 1.4.1