blob: 6122987531b392c36552e9119b23b1838fa33937 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
self: super:
let
all = super.lib.attrNames (
super.lib.filterAttrs
( n: _: n != "default.nix" && ! super.lib.hasPrefix "." n )
(builtins.readDir ./.)
);
in super.lib.listToAttrs (map (f:
{ name = super.lib.removeSuffix ".nix" f;
value = super.callPackage (./. + "/${f}") {}; }
) all)
|