I have a system setup of Haskell that I've maintained with Homebrew and subsequent cabal install
invocations for various packages. I would like to take this back to the bare installation created with brew install haskell-stack
.
How do I do this? Right now I seem to have a bunch of stuff lying around (e.g. old docsets, executables like ghc-mod
etc.) at the system level, even after deleting all installed packages with rm -r ~/.ghc
. Is there a reliable way to get back to the basic configuration that brew install haskell-stack
creates?