2021-03-16 22:50:38 +03:00
|
|
|
{ lib, dev, self, ... }:
|
2021-03-14 10:10:51 +03:00
|
|
|
|
2021-03-16 22:50:38 +03:00
|
|
|
{ pkgs }:
|
2021-03-14 10:10:51 +03:00
|
|
|
let
|
|
|
|
inherit (self) overlay overlays;
|
|
|
|
packagesNames = lib.attrNames (overlay null null)
|
|
|
|
++ lib.attrNames (dev.concatAttrs
|
|
|
|
(lib.attrValues
|
|
|
|
(lib.mapAttrs (_: v: v null null) overlays)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
in
|
|
|
|
lib.fold
|
|
|
|
(key: sum: lib.recursiveUpdate sum {
|
|
|
|
${key} = pkgs.${key};
|
|
|
|
})
|
|
|
|
{ }
|
|
|
|
packagesNames
|