stockholm/mb/5pkgs/default.nix
2019-04-26 20:09:55 +02:00

12 lines
284 B
Nix

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 ./.))))