about summary refs log tree commit diff
path: root/tests/lang/eval-okay-null-dynamic-attrs.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-03-09T18·24-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-03-10T09·14+0100
commit908e9ce259710037ae9824a3246143e46e27e867 (patch)
treee4cd887779b88b20e224cc4baff1145490743e74 /tests/lang/eval-okay-null-dynamic-attrs.nix
parent2caab8166045135bb78fd93dc9778a4d25d9499f (diff)
If a dynamic attribute name evaluates to null, remove it from the set
Diffstat (limited to 'tests/lang/eval-okay-null-dynamic-attrs.nix')
-rw-r--r--tests/lang/eval-okay-null-dynamic-attrs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-null-dynamic-attrs.nix b/tests/lang/eval-okay-null-dynamic-attrs.nix
new file mode 100644
index 000000000000..b060c0bc9850
--- /dev/null
+++ b/tests/lang/eval-okay-null-dynamic-attrs.nix
@@ -0,0 +1 @@
+{ ${null} = true; } == {}