2 let lib = super.lib; in
4 lib = (super.lib or {}) // {
8 let dir = readDir curr; in
9 let files = lib.filterAttrs (name: type:
11 match pattern name != null) dir; in
12 let dirs = lib.filterAttrs (name: type: type == "directory") dir; in
13 map (name: "${curr}/${name}") (attrNames files) ++
14 lib.concatMap (name: go "${curr}/${name}") (attrNames dirs)
16 in root: go (toPath root);