aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-attr-name-type.err.exp
blob: 6848a35ed80f421f0c2ea93a9a0695daf80c76bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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: expected a string but found an integer: 1
       at /pwd/lang/eval-fail-attr-name-type.nix:7:17:
            6| in
            7|   attrs.puppy.${key}
             |                 ^
            8|