Update doc/manual/src/command-ref/env-common.md

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
Andrei Boar 2022-08-04 16:01:02 +03:00 committed by GitHub
parent cedcfe861c
commit a8ac6a4120
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ Most Nix commands interpret the following environment variables:
The Nix search path can also be extended using the `-I` option to The Nix search path can also be extended using the `-I` option to
many Nix commands, which takes precedence over `NIX_PATH`. many Nix commands, which takes precedence over `NIX_PATH`.
If `NIX_PATH` environment variable is not set, Nix will fall back to the following list in impure and unrestricted evaluation mode: If `NIX_PATH` is not set at all, Nix will fall back to the following list in impure and unrestricted evaluation mode:
1. `$HOME/.nix-defexpr/channels` 1. `$HOME/.nix-defexpr/channels`
2. `/nix/var/nix/profiles/per-user/root/channels/nixpkgs` 2. `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`