diff options
Diffstat (limited to 'pkgs/shells/bash/default.nix')
-rw-r--r-- | pkgs/shells/bash/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/shells/bash/default.nix b/pkgs/shells/bash/default.nix index 6a6b8563a5550..2c545ae1c33c4 100644 --- a/pkgs/shells/bash/default.nix +++ b/pkgs/shells/bash/default.nix @@ -55,7 +55,11 @@ stdenv.mkDerivation rec { postInstall = '' # Add an `sh' -> `bash' symlink. ln -s bash "$out/bin/sh" - ''; + '' + # most space is taken by locale data + + stdenv.lib.optionalString (!interactive) '' + rm -r "$out/share" + ''; meta = { homepage = http://www.gnu.org/software/bash/; |