about summary refs log tree commit diff
path: root/third_party/nix/src/tests/lang/eval-okay-remove.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/tests/lang/eval-okay-remove.nix')
-rw-r--r--third_party/nix/src/tests/lang/eval-okay-remove.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/nix/src/tests/lang/eval-okay-remove.nix b/third_party/nix/src/tests/lang/eval-okay-remove.nix
new file mode 100644
index 000000000000..4ad5ba897fa7
--- /dev/null
+++ b/third_party/nix/src/tests/lang/eval-okay-remove.nix
@@ -0,0 +1,5 @@
+let {
+  attrs = {x = 123; y = 456;};
+
+  body = (removeAttrs attrs ["x"]).y;
+}
\ No newline at end of file