1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

parser: merge nested dynamic attributes

Fixes https://github.com/NixOS/nix/issues/7115
This commit is contained in:
Naïm Favier 2023-07-08 12:28:13 +02:00
parent 85d0eb6316
commit 570a1a3ad7
No known key found for this signature in database
GPG key ID: 95AFCE8211908325
6 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,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;
}