stockholm/tv/5pkgs/default.nix

20 lines
378 B
Nix
Raw Normal View History

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