[Haskell-cafe] library version problem

Ketil Malde ketil at malde.org
Fri Apr 11 03:11:47 EDT 2008

"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 true
> because I did
> ghc-pkg latest unix
> and got unix-
> I want unix. because this version has changes that I made

Naturally, you'll get, 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 from view.

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list