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