fix(loader): fix infinite recursion oops

This commit is contained in:
technofab 2025-08-26 14:45:34 +02:00
parent 3406fdda5b
commit 519ed97c97
No known key found for this signature in database

View file

@ -21,7 +21,7 @@
isDir = l.pathExists blockP.dir;
signature = let
cell = cell // {__cr = [cellName cellBlock.name];};
updatedCell = cell // {__cr = [cellName cellBlock.name];};
additionalInputs =
if l.pathExists cellP.flake
then
@ -33,7 +33,7 @@
}).outputs
else {};
in
importSignatureFor system cell cells additionalInputs;
importSignatureFor system updatedCell cells additionalInputs;
import' = importPath: let
block = import importPath;