1
1
forked from extern/flakelight

Fix inputs autoload with top-level follows

Previously, if the root node had follows, the autoloading code did not
work as it assumed the inputs of the root nodes were all strings and not
lists.
This commit is contained in:
Archit Gupta 2024-05-22 23:44:25 -07:00
parent 6af2ed9b42
commit 8f33d9c4fb

View File

@ -43,4 +43,4 @@ let
resolved = mapAttrs (_: resolveNode) nodes;
in
mapAttrs (_: v: resolved.${v}) rootNode.inputs
mapAttrs (_: getInput) rootNode.inputs