aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-merge-dynamic-attrs.nix
blob: f459a554f34181d39277c8912ac64ff54cfc210d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  set1 = { a = 1; };
  set1 = { "${"b" + ""}" = 2; };

  set2 = { "${"b" + ""}" = 2; };
  set2 = { a = 1; };

  set3.a = 1;
  set3."${"b" + ""}" = 2;

  set4."${"b" + ""}" = 2;
  set4.a = 1;
}