1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

traces: Do not print unknown location

Solves 1/3 of the infinite recursion at unknown location meme.
See #8879 for ensuring we always have a trace (for stack overflows)
We might want to re-add this for finding missing location info
*while hacking on that problem only*.
This commit is contained in:
Robert Hensing 2023-09-03 13:44:32 +02:00
parent 4a8c9bb9aa
commit 4c50f5d130
7 changed files with 11 additions and 20 deletions

View file

@ -8,5 +8,3 @@ error:
2| key = "value"
error: while parsing a TOML string: Dates and times are not supported
at «none»:0: (source not available)

View file

@ -10,10 +10,6 @@ error:
… while evaluating the first argument passed to builtins.toString
at «none»:0: (source not available)
… while calling the 'hashFile' builtin
at «none»:0: (source not available)
error: opening file '/pwd/lang/this-file-is-definitely-not-there-7392097': No such file or directory

View file

@ -1,6 +1,4 @@
error:
… while evaluating the `__overrides` attribute
at «none»:0: (source not available)
error: value is an integer while a set was expected

View file

@ -8,5 +8,3 @@ error:
2|
error: negative start position in 'substring'
at «none»:0: (source not available)

View file

@ -9,6 +9,4 @@ error:
… while evaluating the first argument passed to builtins.toPath
at «none»:0: (source not available)
error: string 'foo/bar' doesn't represent an absolute path