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)
(map
(name: import (./. + "/${name}"))
(filter
(name: name != "default.nix" && !hasPrefix "." name)
(pushBack "override"
(attrNames (readDir ./.))))))
(pushBack "override"
(attrNames
(filterAttrs isNixDirEntry (readDir ./.))))))