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

Rogan Creswick creswick at gmail.com
Tue Apr 26 19:04:18 CEST 2011


On Tue, Apr 26, 2011 at 2:10 AM, Gracjan Polak <gracjanpolak at gmail.com> wrote:
>
> I kind of expected 'cabal-dev ghci' to do this for me.

At the moment, cabal-dev ghci just uses the -package-conf and
-no-user-package-conf flags to restrict ghci to the sandboxed and
global package dbs.

It's difficult to do more without parsing the content of the project's
cabal file, and that parser isn't exposed through a library api (it's
in cabal-install), which makes it a little difficult to use.

--Rogan



More information about the Haskell-Cafe mailing list