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-04-12 05:25:37 +00:00
|
|
|
mkFlake = {
|
|
|
|
__functor = callLibs ./mkFlake;
|
|
|
|
evalArgs = callLibs ./mkFlake/evalArgs.nix;
|
2021-04-13 18:24:10 +00:00
|
|
|
evalOldArgs = callLibs ./mkFlake/evalOldArgs.nix;
|
2021-04-12 05:25:37 +00:00
|
|
|
};
|
2021-03-30 18:10:58 +00:00
|
|
|
|
2021-04-10 17:59:10 +00:00
|
|
|
pkgs-lib = callLibs ./pkgs-lib;
|
|
|
|
|
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
|
|
|
})
|