Refactor loadImports function to add recursive capability of import
This commit is contained in:
parent
2c997cddce
commit
b54be83fd7
7 changed files with 31 additions and 28 deletions
|
|
@ -1,3 +1,3 @@
|
|||
{lib, ...}: {
|
||||
imports = with lib; youthlic.loadImports' ./. (filter (name: name != "top-level"));
|
||||
imports = with lib; youthlic.loadImports' ./. (filter (name: !hasSuffix "/top-level" (toString name)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue