[Haskell-cafe] library version problem
byorgey at gmail.com
Fri Apr 11 10:33:04 EDT 2008
On Fri, Apr 11, 2008 at 3:11 AM, Ketil Malde <ketil at malde.org> wrote:
> "Galchin, Vasili" <vigalchin at gmail.com> writes:
> >> ghci
> > :m System.Posix
> > I am getting the wrong version of the Unix package. I know this to be
> > because I did
> > ghc-pkg latest unix
> > and got unix-220.127.116.11
> > I want unix.18.104.22.168 because this version has changes that I made
> Naturally, you'll get 22.214.171.124, since it has the highest version number!
> Either rename your modified version to 2.4 (or similar), specify the
> exact version in your *application's* cabal file, or use
> "ghc-pkg hide" to hide version 126.96.36.199 from view.
Actually, I'm pretty sure that Cabal does not take the visibility states of
packages into account when selecting packages to fulfill dependencies, so
ghc-pkg hide will not actually work.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe