aboutsummaryrefslogtreecommitdiff
path: root/tests/case.nar
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2022-03-24 08:10:33 +0000
committerSergei Trofimovich <slyich@gmail.com>2022-03-24 08:16:14 +0000
commit9174d884d750b7b49a571bd55275f0883c2dabda (patch)
treeb68194f395eedc5feb3e06e5b29da6b424684414 /tests/case.nar
parent98ce1a21b7d959c5575fac566c8699e91703a9f7 (diff)
lexer: add error location to lexer errors
Before the change lexter errors did not report the location: $ nix build -f. mc error: path has a trailing slash (use '--show-trace' to show detailed location information) Note that it's not clear what file generates the error. After the change location is reported: $ src/nix/nix --extra-experimental-features nix-command build -f ~/nm mc error: path has a trailing slash at .../pkgs/development/libraries/glib/default.nix:54:18: 53| }; 54| src = /tmp/foo/; | ^ 55| (use '--show-trace' to show detailed location information) Here we see both problematic file and the string itself.
Diffstat (limited to 'tests/case.nar')
0 files changed, 0 insertions, 0 deletions