aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-dup-dynamic-attrs.err.exp
blob: c5fa67523b9829266f8e48e586cdd668290f0d82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error:
       … while evaluating the attribute 'set'

         at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:2:3:

            1| {
            2|   set = { "${"" + "b"}" = 1; };
             |   ^
            3|   set = { "${"b" + ""}" = 2; };

       error: dynamic attribute 'b' already defined at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:2:11

       at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:3:11:

            2|   set = { "${"" + "b"}" = 1; };
            3|   set = { "${"b" + ""}" = 2; };
             |           ^
            4| }