about summary refs log tree commit diff
path: root/nix/readTree/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'nix/readTree/README.md')
-rw-r--r--nix/readTree/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/readTree/README.md b/nix/readTree/README.md
index c93cf2bfdd61..138abbe30583 100644
--- a/nix/readTree/README.md
+++ b/nix/readTree/README.md
@@ -60,6 +60,9 @@ with some exceptions:
 * If a folder contains a `default.nix` it is loaded and, if it evaluates to a
   set, *merged* with the children. If it evaluates to anything else the children
   are *not traversed*.
+* The `default.nix` of the top-level folder on which readTree is
+  called is **not** read to avoid infinite recursion (as, presumably,
+  this file is where readTree itself is called).
 
 Traversal is lazy, `readTree` will only build up the tree as requested. This
 currently has the downside that directories with no importable files end up in