2021-03-16 05:04:28 +03:00
|
|
|
args@{ nixos, self, ... }:
|
2021-03-14 10:10:51 +03:00
|
|
|
let inherit (nixos) lib; in
|
2021-03-16 22:50:38 +03:00
|
|
|
lib.makeExtensible (final:
|
2021-03-14 10:10:51 +03:00
|
|
|
let callLibs = file: import file
|
|
|
|
({
|
|
|
|
inherit lib;
|
|
|
|
|
2021-03-16 22:50:38 +03:00
|
|
|
dev = final;
|
2021-03-14 10:10:51 +03:00
|
|
|
} // args);
|
|
|
|
in
|
2021-03-16 22:50:38 +03:00
|
|
|
with final;
|
2021-03-14 10:10:51 +03:00
|
|
|
{
|
|
|
|
inherit callLibs;
|
|
|
|
|
|
|
|
attrs = callLibs ./attrs.nix;
|
|
|
|
os = callLibs ./devos;
|
|
|
|
lists = callLibs ./lists.nix;
|
2021-03-15 06:40:49 +03:00
|
|
|
strings = callLibs ./strings.nix;
|
2021-03-14 10:10:51 +03:00
|
|
|
|
2021-04-12 08:25:37 +03:00
|
|
|
mkFlake = {
|
|
|
|
__functor = callLibs ./mkFlake;
|
|
|
|
evalArgs = callLibs ./mkFlake/evalArgs.nix;
|
|
|
|
};
|
2021-03-30 21:10:58 +03:00
|
|
|
|
2021-04-10 20:59:10 +03:00
|
|
|
pkgs-lib = callLibs ./pkgs-lib;
|
|
|
|
|
2021-03-30 22:47:54 +03:00
|
|
|
inherit (attrs) mapFilterAttrs genAttrs' safeReadDir
|
2021-03-27 00:41:10 +03:00
|
|
|
pathsToImportedAttrs concatAttrs filterPackages;
|
2021-03-14 10:10:51 +03:00
|
|
|
inherit (lists) pathsIn;
|
2021-03-15 06:40:49 +03:00
|
|
|
inherit (strings) rgxToString;
|
2021-03-14 10:10:51 +03:00
|
|
|
})
|