2021-03-16 20:50:38 +01:00
|
|
|
args@{ nixos, pkgs, 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
|
|
|
|
|
|
|
inherit (attrs) mapFilterAttrs genAttrs' pathsToImportedAttrs concatAttrs;
|
|
|
|
inherit (lists) pathsIn;
|
2021-03-15 04:40:49 +01:00
|
|
|
inherit (strings) rgxToString;
|
2021-03-14 08:10:51 +01:00
|
|
|
})
|