Is there an equivalent to `cabal-dev ghc`
Asked Answered
W

1

6

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?

Whipstitch answered 23/6, 2013 at 3:41 Comment(2)
Have you looked into hs-env?Hedden
Latest hsenv is now at github.com/tmhedberg/hsenv. Looks good but haskell-mode has become cabal-dev centric and I wouldn't want to drift too far away from that.Whipstitch
G
3

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

Godliman answered 23/6, 2013 at 5:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.