cabal-install config setting "documentation: True" ignores base library dependency #698

Closed
bos opened this Issue May 24, 2012 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

bos commented May 24, 2012

(Imported from Trac #707, reported by KiYungAhn on 2010-07-07)

I use "documentation: True" setting in the cabal-install config file (in linux $HOME/.cabal/config) since I prefer to install documentation locally with the library, and recently found out that this ignores the base library version in the .cabal files. I am not sure about whether they ignore other libraries but for base it is for sure. Even though the package cabal file specifies base >= 4 the cabal-install seems to revert back to base version 3 when I use "documentation: True" in the config file.

In particular, I found this bug when I was working with the RepLib? package. I had a link error when I was using the "documentation: True" option in the config, but when I commented that out and worked with the default config file everything worked.

Contributor

bos commented May 24, 2012

(Imported comment by @dcoutts on 2010-07-07)

We will need more details about this.

Since apparently TH is involved, it might possibly be an instance of http://hackage.haskell.org/trac/ghc/ticket/2555 which itself seems to be a hard-to-reproduce problem.

Contributor

bos commented May 24, 2012

(Imported comment by @kosmikus on 2010-08-09)

I'm not sure that I fully understand the description. Is this still an open issue with current versions of cabal-install?

Owner

gregorycollins commented Jan 28, 2013

These days base-3/-4 issues are rare -- closing this as obsolete unless OP can send us a failing test case to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment