Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an equivalent to `cabal-dev ghc`

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?

like image 969
tony day Avatar asked Jun 23 '13 03:06

tony day


1 Answers

The feature you want doesn't exist yet. Please file a feature request: https://github.com/creswick/cabal-dev/issues?state=open

like image 128
Jason Dagit Avatar answered Nov 11 '22 03:11

Jason Dagit