diff --git a/grow/default.nix b/grow/default.nix index d54686f..e750390 100644 --- a/grow/default.nix +++ b/grow/default.nix @@ -105,7 +105,18 @@ blockP = paths.cellBlockPath cellP cellBlock; isFile = l.pathExists blockP.file; isDir = l.pathExists blockP.dir; - signature = _ImportSignatureFor res.output cellP.flake; # recursion on cell + signature = let + # pass through the current cell and cell block names for introspection + outputMeta = + res.output + // { + __std = { + inherit cellName; + cellBlockName = cellBlock.name; + }; + }; + in + _ImportSignatureFor outputMeta cellP.flake; # recursion on cell import' = { displayPath, importPath,