haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] library version problem

Subject: Re: [Haskell-cafe] library version problem
From: Ketil Malde
Date: Fri, 11 Apr 2008 09:11:47 +0200
"Galchin, Vasili" <vigalchin@xxxxxxxxx> 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-2.3.0.0
>
> I want unix.2.2.0.0 because this version has changes that I made

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

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>