Add position information to `while evaluating the attribute` errors in the debugger
(cherry picked from commit ffe67c86a8ef3695e5c8b9c9800c192ac633dded)
Change-Id: I177ea5ec60898abe09fb9d80d9602b2a32ff8f44
24 lines
528 B
Markdown
24 lines
528 B
Markdown
---
|
|
synopsis: "In the debugger, `while evaluating the attribute` errors now include position information"
|
|
prs: 9915
|
|
---
|
|
|
|
Before:
|
|
|
|
```
|
|
0: while evaluating the attribute 'python311.pythonForBuild.pkgs'
|
|
0x600001522598
|
|
```
|
|
|
|
After:
|
|
|
|
```
|
|
0: while evaluating the attribute 'python311.pythonForBuild.pkgs'
|
|
/nix/store/hg65h51xnp74ikahns9hyf3py5mlbbqq-source/overrides/default.nix:132:27
|
|
|
|
131|
|
|
132| bootstrappingBase = pkgs.${self.python.pythonAttr}.pythonForBuild.pkgs;
|
|
| ^
|
|
133| in
|
|
```
|