about summary refs log tree commit diff
path: root/third_party/nix/tests/lang/eval-okay-callable-attrs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/lang/eval-okay-callable-attrs.nix')
-rw-r--r--third_party/nix/tests/lang/eval-okay-callable-attrs.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/third_party/nix/tests/lang/eval-okay-callable-attrs.nix b/third_party/nix/tests/lang/eval-okay-callable-attrs.nix
new file mode 100644
index 000000000000..310a030df004
--- /dev/null
+++ b/third_party/nix/tests/lang/eval-okay-callable-attrs.nix
@@ -0,0 +1 @@
+({ __functor = self: x: self.foo && x; foo = false; } // { foo = true; }) true