I have already installed ghc using stack build tool. It compiles my project. But when I enter nix-shell inside project directory and want to compile my project from nix-shell I see error like this:
No compiler found, expected minor version match with ghc-8.0.2
This can be fixed by running stack setup command. But I worry that this will install ghc once more time consuming more space on my machine and etc. Is there a way to use already installed ghc for nix-shell without running stack setup command?