1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-26 09:34:15 +03:00
digga/lib/default.nix

24 lines
507 B
Nix
Raw Normal View History

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