blob: 3fa5b5e85d1f702508d84f9a5c1cc5b0d430485d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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 ./.))))
|