mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Add release notes for "Cycle detection in nix repl
is simpler and more reliable"
This commit is contained in:
parent
4f0d43a397
commit
837c350bcd
1 changed files with 22 additions and 0 deletions
22
doc/manual/rl-next/repl-cycle-detection.md
Normal file
22
doc/manual/rl-next/repl-cycle-detection.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
synopsis: Cycle detection in `nix repl` is simpler and more reliable
|
||||||
|
prs: 9926
|
||||||
|
issues: 8672
|
||||||
|
---
|
||||||
|
|
||||||
|
The cycle detection in `nix repl`, `nix eval`, `builtins.trace`, and everywhere
|
||||||
|
else values are printed is now simpler and matches the cycle detection in
|
||||||
|
`nix-instantiate --eval` output.
|
||||||
|
|
||||||
|
Before:
|
||||||
|
|
||||||
|
```
|
||||||
|
nix eval --expr 'let self = { inherit self; }; in self'
|
||||||
|
{ self = { self = «repeated»; }; }
|
||||||
|
```
|
||||||
|
|
||||||
|
After:
|
||||||
|
|
||||||
|
```
|
||||||
|
{ self = «repeated»; }
|
||||||
|
```
|
Loading…
Reference in a new issue