How to change path of cabal config file?
问题 I am using HaskellPlatform-2012.4.0.0 on Win7. It's installed as portable. Paths are managed through .bat file so ghci and ghc works. But cabal installs it self at C:\Users\name\AppData\Roaming\cabal\ To circumvent that I did: cabal update edit config file delete all files except config Changed paths: remote-repo-cache: d:\h1\cabal\packages world-file: d:\h1\cabal\world build-summary: d:\h1\cabal\logs\build.log It works, but it's far from truly portable. Cabal config is bigger problem. It