-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Describe the bug
Something I've done started producing an infinite recursion. Nix just fails, but there's no stack trace, so AFAIK there's no possible way to know what triggers the problem.
Steps To Reproduce
nix flake check --show-trace 'gitlab:moduon/mrchef?rev=7f6177504daaa74d1b8dc64b256fbf15866efb3a'Expected behavior
I'm passing --show-trace, so there should be a trace.
nix-env --version output
nix-env (Nix) 2.7.0
Additional context
I'm building a python app to manage git meta-repositories. Sort of a better replacement for git-submodules.
I asked in https://discourse.nixos.org/t/how-to-debug-infinite-recursion/18470?u=yajo but so far I've started to believe this is a bug in nix.
The ref above points to https://gitlab.com/moduon/mrchef/-/merge_requests/1 where I isolated the test case that reproduces this problem.
Edit: the final fix was nix-community/poetry2nix#585. I could have found that in minutes, not days, if I had a proper stack trace.
@moduon MT-83