mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 18:56:16 +02:00
23 lines
441 B
Markdown
23 lines
441 B
Markdown
|
---
|
||
|
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»; }
|
||
|
```
|