Cabal Haskell unrecognized world-file

looks like cabal haskell’s package manager doesn’t like to be moved around or i am messing with different versions..
I had in a fit of youthful rebellion combined the home folder between my fedora and ubuntu box… merging and replacing files and folders at will…
Result whenever i run cabal install i get a warning… i open the config file and realize there are a lot of references to the old username…damn…
i change it, but i still get the warning
Warning: /home/anandjeyahar/.cabal/config: Unrecognized field world-file on
line 15

Hmm.. wonder what’s the problem??

Update-06-Jun-2013:
Ok it seems an awful lot of people visit this post, so i’ll just put up this solution i found from googling.

cabal –config-file=”path/to/config”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s