stack overflow using snack on NGLess
I tried snack on a clean checkout of NGLess and it first ran for a while, then it errored. From then on, running snack build runs for about a minute and terminates with
error: stack overflow (possible infinite recursion)
I attach the full log of NIX_SHOW_STATS=1 NIX_COUNT_CALLS=1 snack build:
LOG.stderr.txt
Reproducing should be a matter of:
git clone https://github.com/ngless-toolkit/ngless
cd ngless
snack build
(Installed snack with nix-env -iA snack-exe -f https://github.com/nmattia/snack/tarball/master)
Looks like I missed the notification! There are some Nix-performance related issues with snack, it stresses the evaluator a lot. I looked into it a few times but it's very hairy. Hopefully one day I'll have time to dig into this properly, but I don't use Haskell much these days...