about summary refs log tree commit diff
path: root/tests/lang/eval-okay-attrs6.nix
diff options
context:
space:
mode:
authorPuck Meerburg <puck@puckipedia.com>2019-11-25T13·03+0000
committerEelco Dolstra <edolstra@gmail.com>2020-01-04T13·12+0100
commit9879e254739d5a36d410ad84bbc9cbf4ef63ac3f (patch)
tree4da3f6e1671db6cc037ecdc3c4d8b29131d8d64d /tests/lang/eval-okay-attrs6.nix
parent59bbc3170105a42cf1c49bee64321157eb3a01d4 (diff)
Add testcase for attrset using __overrides and dynamic attrs
(cherry picked from commit cdadbf770855e828a0f64d70a47db43e920ad137)
Diffstat (limited to 'tests/lang/eval-okay-attrs6.nix')
-rw-r--r--tests/lang/eval-okay-attrs6.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-attrs6.nix b/tests/lang/eval-okay-attrs6.nix
new file mode 100644
index 000000000000..2e5c85483be6
--- /dev/null
+++ b/tests/lang/eval-okay-attrs6.nix
@@ -0,0 +1,4 @@
+rec {
+  "${"foo"}" = "bar";
+   __overrides = { bar = "qux"; };
+}