diff options
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/src/command-ref/env-common.md | 2 | ||||
-rw-r--r-- | doc/manual/src/release-notes/rl-next.md | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/doc/manual/src/command-ref/env-common.md b/doc/manual/src/command-ref/env-common.md index ab048074a..3f3eb6915 100644 --- a/doc/manual/src/command-ref/env-common.md +++ b/doc/manual/src/command-ref/env-common.md @@ -4,7 +4,7 @@ Most Nix commands interpret the following environment variables: - [`IN_NIX_SHELL`]{#env-IN_NIX_SHELL}\ Indicator that tells if the current environment was set up by - `nix-shell`. Since Nix 2.0 the values are `"pure"` and `"impure"` + `nix-shell`. It can have the values `pure` or `impure`. - [`NIX_PATH`]{#env-NIX_PATH}\ A colon-separated list of directories used to look up Nix diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md index efd893662..878916dc9 100644 --- a/doc/manual/src/release-notes/rl-next.md +++ b/doc/manual/src/release-notes/rl-next.md @@ -24,3 +24,19 @@ Selecting derivation outputs using the attribute selection syntax (e.g. `nixpkgs#glibc.dev`) no longer works. + +* Running nix with the new `--debugger` flag will cause it to start a repl session if + there is an exception thrown during eval, or if `builtins.break` is called. From + there one can inspect symbol values and evaluate nix expressions. In debug mode + the following new repl commands are available: + ``` + :env Show env stack + :bt Show trace stack + :st Show current trace + :st <idx> Change to another trace in the stack + :c Go until end of program, exception, or builtins.break(). + :s Go one step + ``` + +* `builtins.fetchTree` (and flake inputs) can now be used to fetch plain files + over the `http(s)` and `file` protocols in addition to directory tarballs. |