After forcefully installing the latest "bytestring" package I've stumbled into a dependency hell. I want to wipe all local packages out, so that I could re-cabal-install
them after.
What is the correct way of doing that? Is there a better way of recreating the local repository?
On OS X you can clear the following directory:
~/Library/Haskell/ghc-XXX/lib/
Globally installed packages are in, but they are commonly installed by the Haskell Platform installer, as the default is to install packages for the current user only:
/Library/Haskell/ghc-XXX/lib/
If you are on Windows or Linux try the following code (source) in ghci:
:m System.Directory
getAppUserDataDirectory "cabal"
The config file there will tell you where you are installing user packages to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With