[Haskell-cafe] How to keep cabal and ghci package versions in sync?

Henning Thielemann schlepptop at henning-thielemann.de
Mon Apr 25 13:54:34 CEST 2011


Gracjan Polak schrieb:
> Hi all,
> 
> I have a project with a .cabal file listing package dependencies using
> the usual version constraints ==X.Y.* <Z.W or >=K.J syntax.
> Standard route cabal configure; cabal build works correctly as it is able
> to select working set of package versions.

You can manually select packages for GHCi with '-package' option.
However I do not know a way to automatically syncronise this with the
dependencies from the Cabal file.




More information about the Haskell-Cafe mailing list