jade
faf00ad022
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:
|
||
---|---|---|
.. | ||
.gitkeep | ||
allowsubstitutes-errors.md | ||
alt-left-and-alt-right-in-repl.md | ||
better-errors-attrpaths.md | ||
content-encodings.md | ||
ctrl-c-improved.md | ||
deprecated-features.md | ||
download-protocols.md | ||
fetchGit-regression.md | ||
http-proxy-for-s3.md | ||
include-rearrangement.md | ||
interactive-nix.conf-overrides.md | ||
libstore-random.md | ||
nix-build-out-link.md | ||
nix-fmt-default-argument.md | ||
pytest-suite.md | ||
readline-support-removed.md | ||
relative-and-tilde-paths-in-config.md | ||
remove-mono-coreutils-dependency.md | ||
report-differing-outputs.md | ||
ssl-cert-symlink.md | ||
stack-traces.md | ||
temp-dir.md | ||
thread-names.md | ||
verify-tls.md | ||
x-github-api-header.md |