summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-09 00:30:44 +0100
committertv <tv@krebsco.de>2022-12-09 01:34:31 +0100
commite56f5d7e61e46852ebe1b4904d6f4085091bd469 (patch)
tree846e735362c3584c8301d2c60f640695fc67fe00 /tv
parent5b579b8fb96c073ddf55935ee1dbb360a22f18b9 (diff)
tv pkgs: use isNixDirEntry
Diffstat (limited to 'tv')
-rw-r--r--tv/5pkgs/default.nix7
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 ./.))))))