aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-26 20:14:55 +0100
committerGitHub <noreply@github.com>2019-11-26 20:14:55 +0100
commit872740cf60ca29820a25e61882a192f6abe9d68e (patch)
tree7c4d83922e69df6aa9b79a35e7db1afa53df2e8f /tests
parentc13193017fdcb910627698e343c2df4183d91f8f (diff)
parentcdadbf770855e828a0f64d70a47db43e920ad137 (diff)
Merge pull request #3238 from puckipedia/attrset-overrides-dynamic
Ensure enough space in attrset bindings
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/eval-okay-attrs6.exp1
-rw-r--r--tests/lang/eval-okay-attrs6.nix4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-attrs6.exp b/tests/lang/eval-okay-attrs6.exp
new file mode 100644
index 000000000..b46938032
--- /dev/null
+++ b/tests/lang/eval-okay-attrs6.exp
@@ -0,0 +1 @@
+{ __overrides = { bar = "qux"; }; bar = "qux"; foo = "bar"; }
diff --git a/tests/lang/eval-okay-attrs6.nix b/tests/lang/eval-okay-attrs6.nix
new file mode 100644
index 000000000..2e5c85483
--- /dev/null
+++ b/tests/lang/eval-okay-attrs6.nix
@@ -0,0 +1,4 @@
+rec {
+ "${"foo"}" = "bar";
+ __overrides = { bar = "qux"; };
+}