
Am 06.11.12 18:46, schrieb Brandon Allbery:
On Tue, Nov 6, 2012 at 12:27 PM, Harald Bögeholz
wrote: When I then tried
cabal update
it still said
Downloading the latest package list from hackage.haskell.org
Did you do "hash -r" so your shell will forget that it had already found cabal in /usr/bin? (This is not a Mac OS X thing, it's a bash and zsh thing. csh/tcsh does it too but you clear its path hash table with "rehash".)
Oops, you are right! Now it seems to work, stupid me!
I thought that by issuing these two commands
Haralds-iMac:~ bo$ which cabal
/Users/bo/Library/Haskell/bin/cabal
Haralds-iMac:~ bo$ ls -l `which cabal`
lrwxr-xr-x 1 bo staff 49 6 Nov 18:15
/Users/bo/Library/Haskell/bin/cabal ->
../ghc-7.4.2/lib/cabal-install-1.16.0.1/bin/cabal
I had made sure I was using the new version. But apparently not!
Thanks a lot!
(I still find it mildly confusing that there are two different version
numbers involved:
Haralds-iMac:~ bo$ cabal --version
cabal-install version 1.16.0.1
using version 1.16.0.2 of the Cabal library
but that seems to be ok?)
Harald
--
Harald Bögeholz