I try to build omnetpp by nix. If I split outputs, the nix will complain
cycle detcted. If I don’t split it, the build is successed.
The nix expression can be found here with single output and here with multiple outputs(this commit may have some other problem in fixupPhase). I try to use docker image for this software, but I also want to know more about this question.
Is there a way to debug this?
Or more commonly, how to debug after build phase, nix-shell doesn’t have access to /nix/store path, so install phase and the following phase cannot be done in nix-shell. In other word, can nix don’t remove the build phase results during nix-build?