aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-dup-dynamic-attrs.nix
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2023-07-08 12:28:13 +0200
committerNaïm Favier <n@monade.li>2023-07-21 17:14:03 +0200
commit570a1a3ad773d93aa2128a8fba49f98e1e115d5d (patch)
tree69860a99a55cc4dc0c8cb2acfd14c3e1fcfb9378 /tests/lang/eval-fail-dup-dynamic-attrs.nix
parent85d0eb63165e7d7f441fe3dd94bb548a40502e52 (diff)
parser: merge nested dynamic attributes
Fixes https://github.com/NixOS/nix/issues/7115
Diffstat (limited to 'tests/lang/eval-fail-dup-dynamic-attrs.nix')
-rw-r--r--tests/lang/eval-fail-dup-dynamic-attrs.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-dup-dynamic-attrs.nix b/tests/lang/eval-fail-dup-dynamic-attrs.nix
new file mode 100644
index 000000000..7ea17f6c8
--- /dev/null
+++ b/tests/lang/eval-fail-dup-dynamic-attrs.nix
@@ -0,0 +1,4 @@
+{
+ set = { "${"" + "b"}" = 1; };
+ set = { "${"b" + ""}" = 2; };
+}