How do I get bash with readline support from Nix? I am experimenting with the Nix package manager on macOS. The bash package I got from Nix doesn’t seem to have readline support enabled:

$ nix-env -i bash
installing ‘bash-4.3-p46’
building path(s) ‘/nix/store/468xvd20nj86yr6k16g2918849f3w7pn-user-environment’
created 119 symlinks in user environment
$ bash
Restored session: Thu Nov 24 14:21:31 CET 2016
$ foo^A^K


How do I get Bash with readline from Nix?
Are you passing a boolean true to the expression for the 'interactive' attribute? It appears this is required in the expression for the bash package for readline support. 

There's also an expression with the boolean already supplied so nix-env -iA nixpkgs.bashInteractive should give bash with readline support enabled.