TODO notes: flake: config contrain algorithm

pull/55/head
Alexander Tomokhov 2023-11-15 20:18:45 +04:00
parent b0bb84138b
commit d281f51775
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@
};
constrainImportsArgsRecursive = lib.attrsets.mapAttrsRecursive
(p: v:
# TODO traverse only imports and imports of imports, etc
# without traversing all attributes
if lib.lists.last p == "imports"
then
map