
The `nb shell` subcommand relies on Bash's `read` and the default Bash in stdenv has unexpected behavior, characters aren't echoed and arrow keys do not seem to recall history. By adding `bashInteractive` to the buildInputs, patchShebangs picks it up and this fixes the behavior. Fixes #374606