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