diff options
author | tv <tv@krebsco.de> | 2022-12-09 00:30:44 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-12-09 01:34:31 +0100 |
commit | e56f5d7e61e46852ebe1b4904d6f4085091bd469 (patch) | |
tree | 846e735362c3584c8301d2c60f640695fc67fe00 | |
parent | 5b579b8fb96c073ddf55935ee1dbb360a22f18b9 (diff) |
tv pkgs: use isNixDirEntry
-rw-r--r-- | tv/5pkgs/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tv/5pkgs/default.nix b/tv/5pkgs/default.nix index 5a018a166..494cb9e63 100644 --- a/tv/5pkgs/default.nix +++ b/tv/5pkgs/default.nix @@ -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 ./.)))))) |