2021-04-18 01:35:05 +00:00
|
|
|
{ lib, userSelf, ... }:
|
2021-03-14 07:10:51 +00:00
|
|
|
|
2021-03-16 19:50:38 +00:00
|
|
|
{ pkgs }:
|
2021-03-14 07:10:51 +00:00
|
|
|
let
|
2021-04-18 23:30:07 +00:00
|
|
|
inherit (userSelf) overlay overlays;
|
2021-03-14 07:10:51 +00:00
|
|
|
packagesNames = lib.attrNames (overlay null null)
|
2021-04-18 01:35:05 +00:00
|
|
|
++ lib.attrNames (lib.concatAttrs
|
2021-03-14 07:10:51 +00:00
|
|
|
(lib.attrValues
|
|
|
|
(lib.mapAttrs (_: v: v null null) overlays)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
in
|
|
|
|
lib.fold
|
|
|
|
(key: sum: lib.recursiveUpdate sum {
|
|
|
|
${key} = pkgs.${key};
|
|
|
|
})
|
|
|
|
{ }
|
|
|
|
packagesNames
|