2021-03-14 07:10:51 +00:00
|
|
|
args@{ nixos, pkgs, ... }:
|
|
|
|
let inherit (nixos) lib; in
|
|
|
|
lib.makeExtensible (self:
|
|
|
|
let callLibs = file: import file
|
|
|
|
({
|
|
|
|
inherit lib;
|
|
|
|
|
|
|
|
dev = self;
|
|
|
|
} // args);
|
|
|
|
in
|
|
|
|
with self;
|
|
|
|
{
|
|
|
|
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
|
|
|
|
|
|
|
inherit (attrs) mapFilterAttrs genAttrs' pathsToImportedAttrs concatAttrs;
|
|
|
|
inherit (lists) pathsIn;
|
2021-03-15 03:40:49 +00:00
|
|
|
inherit (strings) rgxToString;
|
2021-03-14 07:10:51 +00:00
|
|
|
})
|