doc: nix-shell in pure mode does *not* source user bashrc

This commit is contained in:
Stefan Frijters 2020-10-18 14:14:37 +02:00
parent 05e6fe69f9
commit a53438d18f
No known key found for this signature in database
GPG key ID: 7619A6BC6E7DFA6F

View file

@ -76,8 +76,8 @@ All options not listed here are passed to `nix-store
cleared before the interactive shell is started, so you get an
environment that more closely corresponds to the “real” Nix build. A
few variables, in particular `HOME`, `USER` and `DISPLAY`, are
retained. Note that `~/.bashrc` and (depending on your Bash
installation) `/etc/bashrc` are still sourced, so any variables set
retained. Note that (depending on your Bash
installation) `/etc/bashrc` is still sourced, so any variables set
there will affect the interactive shell.
- `--packages` / `-p` *packages*