aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-dup-dynamic-attrs.err.exp
blob: 834f9c67bc47c4e911b46f8e4dd5bf336b729ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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| }