2021-03-16 02:04:28 +00:00
|
|
|
args@{ nixos, self, ... }:
|
2021-03-14 07:10:51 +00:00
|
|
|
let inherit (nixos) lib; in
|
2021-03-16 19:50:38 +00:00
|
|
|
lib.makeExtensible (final:
|
2021-03-14 07:10:51 +00:00
|
|
|
let callLibs = file: import file
|
|
|
|
({
|
|
|
|
inherit lib;
|
|
|
|
|
2021-03-16 19:50:38 +00:00
|
|
|
dev = final;
|
2021-03-14 07:10:51 +00:00
|
|
|
} // args);
|
|
|
|
in
|
2021-03-16 19:50:38 +00:00
|
|
|
with final;
|
2021-03-14 07:10:51 +00:00
|
|
|
{
|
|
|
|
inherit callLibs;
|
|
|
|
|
|
|
|
attrs = callLibs ./attrs.nix;
|
|
|
|
os = callLibs ./devos;
|
|
|
|
lists = callLibs ./lists.nix;
|
2021-03-15 03:40:49 +00:00
|
|
|
strings = callLibs ./strings.nix;
|
2021-03-14 07:10:51 +00:00
|
|
|
|
2021-03-30 19:47:54 +00:00
|
|
|
inherit (attrs) mapFilterAttrs genAttrs' safeReadDir
|
2021-03-26 21:41:10 +00:00
|
|
|
pathsToImportedAttrs concatAttrs filterPackages;
|
2021-03-14 07:10:51 +00:00
|
|
|
inherit (lists) pathsIn;
|
2021-03-15 03:40:49 +00:00
|
|
|
inherit (strings) rgxToString;
|
2021-03-14 07:10:51 +00:00
|
|
|
})
|