Merge pull request #4157 from SFrijters/doc-nix-shell-pure-bashrc

doc: nix-shell in pure mode does *not* source user bashrc
This commit is contained in:
Eelco Dolstra 2020-10-18 18:10:18 +02:00 committed by GitHub
commit 6bca8f82c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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*