summary refs log tree commit diff
path: root/pkgs/shells/bash
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-02-21 17:47:44 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-03-08 09:59:24 +0100
commit61ebdc192d5ca5c434cb7420f84aa6bf4f554fb4 (patch)
tree62fd711cb463d7302001bd760abc2aeff66b91a2 /pkgs/shells/bash
parentb291f1682f5511ddf1cb3d8fa0126ab5de424ad3 (diff)
downloadnixpkgs-61ebdc192d5ca5c434cb7420f84aa6bf4f554fb4.tar
nixpkgs-61ebdc192d5ca5c434cb7420f84aa6bf4f554fb4.tar.gz
nixpkgs-61ebdc192d5ca5c434cb7420f84aa6bf4f554fb4.tar.bz2
nixpkgs-61ebdc192d5ca5c434cb7420f84aa6bf4f554fb4.tar.lz
nixpkgs-61ebdc192d5ca5c434cb7420f84aa6bf4f554fb4.tar.xz
nixpkgs-61ebdc192d5ca5c434cb7420f84aa6bf4f554fb4.tar.zst
nixpkgs-61ebdc192d5ca5c434cb7420f84aa6bf4f554fb4.zip
bash-interactive: better split doc stuff
... while avoiding mass rebuild ATM.
Diffstat (limited to 'pkgs/shells/bash')
-rw-r--r--pkgs/shells/bash/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/shells/bash/default.nix b/pkgs/shells/bash/default.nix
index e49e7ef5da4..2fa229692eb 100644
--- a/pkgs/shells/bash/default.nix
+++ b/pkgs/shells/bash/default.nix
@@ -21,7 +21,12 @@ stdenv.mkDerivation rec {
     inherit sha256;
   };
 
-  outputs = [ "out" "doc" ];
+  outputs = if (!interactive) # conditional to avoid mass rebuild ATM
+    then [ "out" "doc" ]
+    else [ "out" "doc" "info" ];
+
+  # the man pages are small and useful enough
+  outputMan = if interactive then "out" else null;
 
   NIX_CFLAGS_COMPILE = ''
     -DSYS_BASHRC="/etc/bashrc"