From 8f33d9c4fb1d7d8afc3de9145e3304a40aed1479 Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Wed, 22 May 2024 23:44:25 -0700 Subject: [PATCH] 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. --- misc/lock2inputs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/lock2inputs.nix b/misc/lock2inputs.nix index 8092aea..30b2369 100644 --- a/misc/lock2inputs.nix +++ b/misc/lock2inputs.nix @@ -43,4 +43,4 @@ let resolved = mapAttrs (_: resolveNode) nodes; in -mapAttrs (_: v: resolved.${v}) rootNode.inputs +mapAttrs (_: getInput) rootNode.inputs