about summary refs log tree commit diff
path: root/nix/readTree
diff options
context:
space:
mode:
Diffstat (limited to 'nix/readTree')
-rw-r--r--nix/readTree/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/readTree/default.nix b/nix/readTree/default.nix
index 9793310eeda0..3ceb03299190 100644
--- a/nix/readTree/default.nix
+++ b/nix/readTree/default.nix
@@ -70,5 +70,5 @@ let
       }) nixFiles;
     in if dir ? "default.nix"
       then (if isAttrs self then self // (listToAttrs children) else self)
-      else listToAttrs (nixChildren ++ children);
+      else (listToAttrs (nixChildren ++ children) // { __readTree = true; });
 in readTree initPath [ (baseNameOf initPath) ]