3 let lib = super.lib; in
5 lib = (super.lib or { }) // {
6 loadFile = name: toFile (baseNameOf (toString name)) (readFile name);
10 let dir = readDir curr; in
12 files = lib.filterAttrs
15 match pattern name != null)
18 let dirs = lib.filterAttrs (_name: type: type == "directory") dir; in
19 map (name: "${curr}/${name}") (attrNames files) ++
20 lib.concatMap (name: go "${curr}/${name}") (attrNames dirs)