fix(loader): infinite recursion error when accessing sibling blocks

eg. accessing/returning `cell.b` (cell/b.nix) from cell/a.nix would
cause infinite recursion. That's now fixed
This commit is contained in:
technofab 2025-12-23 14:40:32 +01:00
parent 558066d8df
commit 0d6970d95a
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
3 changed files with 24 additions and 1 deletions

4
cells/test/other.nix Normal file
View file

@ -0,0 +1,4 @@
# test to make sure infinite recursion doesn't happen when accessing sibling blocks
# run `nix eval .#<system>.test` to check
# should return { other = { hello = "world"; }; test = «repeated»; }
{cell, ...}: cell.test