tv pkgs: use isNixDirEntry

This commit is contained in:
tv 2022-12-09 00:30:44 +01:00
parent 5b579b8fb9
commit e56f5d7e61

View File

@ -14,7 +14,6 @@ fix
(foldl' (flip extends) (_: super) (foldl' (flip extends) (_: super)
(map (map
(name: import (./. + "/${name}")) (name: import (./. + "/${name}"))
(filter (pushBack "override"
(name: name != "default.nix" && !hasPrefix "." name) (attrNames
(pushBack "override" (filterAttrs isNixDirEntry (readDir ./.))))))
(attrNames (readDir ./.))))))