Wednesday, September 5, 2012

Cabal Reset in Vista

So my Haskell development on my Windows laptop is spread out. So often times when I get back to working on something on it, I get dependency hell cause everything needs updating. The general solution is to just blow away my packages and start from fresh. So in case someone is wondering how this is done in Windows and also just as a bookmark for myself, this is what I did today. I removed the following two directories and did a ghc-pkg recache.

The recache was complaining about not having perms to the global package.cache under Program Files. After a bunch of trial and error, I think the problem wasn't that I didn't have edit rights to that file, but that I didn't have rights to its folder, C:\Program Files\Haskell Platform\2012.2.0.0\lib\package.conf.d. I guess it was trying to delete the file and create a new one or something.

Anyhow, delete these two dirs and do a recache and you should have a clean install. 


This is Vista Home Basic...yeah, I know. I just don't have much need for this windows box, so it's not worth the $$ for me to upgrade to 7.


Unknown said...

Inside a'secret' gaming studio inside the casino - FilmFileEurope
Inside a'secret' gaming studio 욜로 사이트 inside 메이저사이트 승부벳 the casino - 프로토 FilmFileEurope. The casino has been building for years 도박 사이트 and has developed 토토 사이트 넷마블 the best

Unknown said...

1xbet - No 1xbet Casino | Live dealer casino online
1xbet is a reliable casino site that offers a great casino games from the best software providers for the regulated gambling markets. 토토 사이트 도메인 Rating: 8/10 · ‎Review by a Tripadvisor 1xbet 먹튀 user · ‎Free kadangpintar · ‎Sports