Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
with-haddock not recognized in ~/.cabal/config #1328
When using a custom setup (therefore, the desired haddock executable isn't the one in $PATH) the with-haddock field isn't recognized in the cabal-install configuration file. My current setup is as follows, though this has been an issue for a while.
OS X: 10.5.8
This is using the cabal-install executable, and the contents of Setup.hs are irrelevant (the bug affects all packages including local ones and ones from Hackage).
Edit: By "using a custom setup" I meant a custom installation of ghc etc. I have multiple versions of the Haskell toolchain installed in order to perform regression tests etc. Therefore, I'd like to be able to just swap out the ~/.cabal/config file in order to use cabal-install for each of these different installations. However, this doesn't work because the with-haddock field isn't recognized, so documentation can only be auto-installed for the toolchain which happens to go with the haddock in $PATH.