I'm learning to use a cabal-dev setup for projects to keep dependencies clean. cabal-dev ghci
and cabal-deb ghc-pkg
work in nicely. But I find myself wanting to issue a cabal-dev ghc
command but it doesn't exist.
The context is trying to get flymake in emacs working using ghc but a straight ghc
command doesn't pick up the cabal-dev environment.
Is there something that will give me cabal-dev ghc
in the same way that cabal-dev ghci
works?