stockholm/tv/5pkgs/default.nix

20 lines
378 B
Nix
Raw Normal View History

2022-12-09 00:31:56 +00:00
with import ./lib;
2022-03-05 08:53:21 +00:00
let
pushBack = x: xs:
if elem x xs then
remove x xs ++ [ x ]
else
2022-07-14 13:38:17 +00:00
xs;
2022-03-05 08:53:21 +00:00
in
2017-07-01 22:09:16 +00:00
2017-07-23 00:46:44 +00:00
self: super:
2017-07-01 22:09:16 +00:00
2017-07-23 00:46:44 +00:00
# Import files and subdirectories like they are overlays.
fix
(foldl' (flip extends) (_: super)
(map
(name: import (./. + "/${name}"))
2022-12-08 23:30:44 +00:00
(pushBack "override"
(attrNames
(filterAttrs isNixDirEntry (readDir ./.))))))