lix/doc/manual/rl-next
jade faf00ad022 libexpr: significantly improve error messages for bad attr paths
This commit makes Lix include the summarized content of the value being
indexed when it is bad.

lix/lix2 » nix eval --expr '{x.y = 2;}' 'x.y.z'
error: the value being indexed in the selection path 'x.y.z' at 'x.y' should be a set but is an integer: 2

lix/lix2 » nix eval --expr '{x.y = { a = 3; };}' 'x.y.z'
error: attribute 'z' in selection path 'x.y.z' not found inside path 'x.y', whose contents are: { a = 3; }
       Did you mean a?

lix/lix2 » nix eval --expr '{x.y = { a = 3; };}' 'x.y.1'
error: the expression selected by the selection path 'x.y.1' should be a list but is a set: { a = 3; }

Change-Id: I3202aba0e437e00b4c6d3ee287a2d9a7c6892dbf
2024-12-10 15:43:31 -08:00
..
.gitkeep release: release notes for 2.90.0 2024-06-15 18:46:18 -07:00
allowsubstitutes-errors.md fix: good errors for failures caused by allowSubstitutes 2024-08-23 17:49:15 -07:00
alt-left-and-alt-right-in-repl.md repl: Patch editline to recognize Meta-Left & Meta-Right 2024-09-09 15:34:50 -07:00
better-errors-attrpaths.md libexpr: significantly improve error messages for bad attr paths 2024-12-10 15:43:31 -08:00
content-encodings.md libstore: use curl content-encoding support, not our own 2024-10-28 18:52:49 +00:00
ctrl-c-improved.md Add release note for CTRL-C improvements 2024-10-05 10:40:51 -07:00
deprecated-features.md libexpr: Deprecate overriding __sub and the like 2024-11-28 18:15:52 +01:00
download-protocols.md libstore: restrict curl protocols 2024-10-23 11:32:14 +00:00
fetchGit-regression.md libfetchers/git: restore compat with builtins.fetchGit from 2.3 2024-09-28 14:52:06 +02:00
http-proxy-for-s3.md fix: use http proxy for s3 access 2024-08-23 13:23:33 -07:00
include-rearrangement.md meson: prepare for include rearrangement 2024-11-18 12:22:39 -08:00
interactive-nix.conf-overrides.md libexpr/flake: (opinionated) changes to interactive flake config 2024-11-07 21:47:26 +01:00
libstore-random.md libstore: replace random() calls with atomic counter 2024-10-30 19:54:43 -07:00
nix-build-out-link.md feat: Add temp-dir setting 2024-11-06 18:11:47 -08:00
nix-fmt-default-argument.md fix(nix fmt): remove the default "." argument 2024-09-26 14:32:29 -07:00
pytest-suite.md testsuite: use xdist for parallel test running 2024-10-09 14:47:39 -07:00
readline-support-removed.md Remove readline support 2024-09-16 10:48:20 -07:00
relative-and-tilde-paths-in-config.md Support relative and ~/ paths in config settings 2024-08-25 15:54:22 -07:00
remove-mono-coreutils-dependency.md chore: remove monolithic coreutils requirement 2024-10-30 15:12:35 +04:00
report-differing-outputs.md libstore: report all differing outputs rather than just the first 2024-10-29 18:34:54 +01:00
ssl-cert-symlink.md libstore: ignore broken symlinks in ssl-cert-file default 2024-10-30 19:50:38 -07:00
stack-traces.md fix tooling after include reorganization 2024-11-19 22:55:32 +00:00
temp-dir.md feat: Add temp-dir setting 2024-11-06 18:11:47 -08:00
thread-names.md unnamed threads: Obliterate 2024-11-18 18:53:40 -08:00
verify-tls.md [security] builtin:fetchurl: Enable TLS verification 2024-09-25 18:40:58 -07:00
x-github-api-header.md fix(libfetchers): set GitHub API version header, closes #255 2024-10-30 18:40:13 +01:00