I am developing an obelisk project. Obelisk offers a development tool:
ob run, that hot-reloads and reveals any error in the code. Relying on
ob run, however, resulted in this situation where my code supposedly works fine, only I can’t deploy.
ob deploy push -v or
nix-build -A exe --verbose and my obelisk project won’t be build. Instead, the
nix-daemon process hangs, using 100% of CPU time until I hit CTRL-C. I had my computer run over night once to rule out that the build process just takes that much time.
I am slowly running out of ideas. The related issue in the obelisk platform is stale. Apparently I am the only one experiencing the issue:
I moved to a different system (from my laptop computer to a desktop) where I installed NixOS, too, and it seemed to work. It turns out, though, that it doesn’t work on either system. Only certain test cases where I selectively add packages to the
ob init example project worked on the desktop system.
My next step will be to install debian, to see whether or not this problem is specific to NixOS.
Regarding a locked nix-daemon process, I only found issues from years ago. This doesn’t seem to be common at all.