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; resolved = mapAttrs (_: resolveNode) nodes;
in in
mapAttrs (_: v: resolved.${v}) rootNode.inputs mapAttrs (_: getInput) rootNode.inputs