Pass positions when evaluating
(cherry picked from commit c8458bd731eb1c74159bebe459ea00165e056b65)
Change-Id: I1b4a5d58973be6264ffdb23b4492da200fdb71be
21 lines
500 B
Plaintext
21 lines
500 B
Plaintext
error:
|
|
… while evaluating the attribute 'puppy."${key}"'
|
|
|
|
at /pwd/lang/eval-fail-attr-name-type.nix:3:5:
|
|
|
|
2| attrs = {
|
|
3| puppy.doggy = {};
|
|
| ^
|
|
4| };
|
|
|
|
… while evaluating an attribute name
|
|
|
|
at /pwd/lang/eval-fail-attr-name-type.nix:7:17:
|
|
|
|
6| in
|
|
7| attrs.puppy.${key}
|
|
| ^
|
|
8|
|
|
|
|
error: value is an integer while a string was expected
|