Is this just about "switching focus"? I.e. organize work in such a way that you can stay inside one module? EDIT: It should work with multiple targets. Maybe fix all this first, because the work is all arbitrary details and would benefit greatly from immediate feedback. EDIT: Something is not right in how this starts up. EDIT: Call ghci directly inside of nix env, not through cabal.