readTree: make .skip-subtree ignore nix files as well when no default.nix

#89
Opened by Profpatsch at 2021-01-11T10·07+00

Currently,

foo/
  .skip-subtree
  bar.nix
  baz/default.nix

ignores only baz/default.nix via .skip-subtree.

However, conceptually, a tree without a default.nix is all nix files (by name) and all directories (by name). So I would expect it to ignore bar.nix as well.

The only exception is when there is a default.nix, then all other nix files in the same directory are ignored (but not directories).

  1. Profpatsch changed the subject of this issue from "readTree: make .skip-subtree ignore nix files as well" to "`readTree`: make `.skip-subtree` ignore nix files as well when no `default.nix`" at 2021-01-11T10·07+00