mirror of
https://gitlab.com/rensa-nix/core.git
synced 2026-02-02 07:15:08 +01:00
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:
parent
558066d8df
commit
0d6970d95a
3 changed files with 24 additions and 1 deletions
4
cells/test/other.nix
Normal file
4
cells/test/other.nix
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue