summary refs log tree commit diff
path: root/pkgs/shells/bash/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells/bash/default.nix')
-rw-r--r--pkgs/shells/bash/default.nix8
1 files changed, 5 insertions, 3 deletions
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/;