use cabal in haskell mode