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:
|
||
---|---|---|
.. | ||
rl-next | ||
src | ||
theme | ||
anchors.jq | ||
book.toml | ||
change-authors.yml | ||
custom.css | ||
generate-deps.py | ||
generate-manpage.nix | ||
json-to-tree.py | ||
meson.build | ||
process-includes.sh | ||
quote-literals.xsl | ||
rclone.conf | ||
redirects.js | ||
render-manpage.sh | ||
substitute.py |