mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
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:
commit
6bca8f82c7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
cleared before the interactive shell is started, so you get an
|
||||||
environment that more closely corresponds to the “real” Nix build. A
|
environment that more closely corresponds to the “real” Nix build. A
|
||||||
few variables, in particular `HOME`, `USER` and `DISPLAY`, are
|
few variables, in particular `HOME`, `USER` and `DISPLAY`, are
|
||||||
retained. Note that `~/.bashrc` and (depending on your Bash
|
retained. Note that (depending on your Bash
|
||||||
installation) `/etc/bashrc` are still sourced, so any variables set
|
installation) `/etc/bashrc` is still sourced, so any variables set
|
||||||
there will affect the interactive shell.
|
there will affect the interactive shell.
|
||||||
|
|
||||||
- `--packages` / `-p` *packages*…
|
- `--packages` / `-p` *packages*…
|
||||||
|
|
Loading…
Reference in a new issue