diff options
Diffstat (limited to 'tv/5pkgs/default.nix')
-rw-r--r-- | tv/5pkgs/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tv/5pkgs/default.nix b/tv/5pkgs/default.nix index cae5da112..9e9a3a9b8 100644 --- a/tv/5pkgs/default.nix +++ b/tv/5pkgs/default.nix @@ -3,12 +3,13 @@ with import <stockholm/lib>; self: super: # Import files and subdirectories like they are overlays. -foldl' mergeAttrs {} - (map - (name: import (./. + "/${name}") self super) - (filter - (name: name != "default.nix" && !hasPrefix "." name) - (attrNames (readDir ./.)))) +fix + (foldl' (flip extends) (_: super) + (map + (name: import (./. + "/${name}")) + (filter + (name: name != "default.nix" && !hasPrefix "." name) + (attrNames (readDir ./.))))) // |