-
Notifications
You must be signed in to change notification settings - Fork 239
Don't put attoparsec in its own library #787
Conversation
Hmm, maybe it would be easier to just rename the internal sublib to something like haddock-attoparsec or something. That might be even easier considering the obscure cpp errors travis runs into. |
Also do we have any indication as to why stack rebuilds this stuff all the time? I imagine sublibs will pop up more and more in the future. |
I think the errors are caused by missing dependencies, CPP just gives bad error messages. I added the dependencies, hopefully this works now. I've tested renaming (commercialhaskell/stack#3899 (comment)), it didn't work for me. |
This issue occurs with stack with all packages with internal libraries, it seems, regardless of name. |
so we don't have provided |
@mimi1vx I don't understand. Who is "we"? What problem are you describing? Is this a build failure? Using what tooling? The commands don't quite make sense to me -- why is there a package.conf.d in that folder, and why are you using both |
@gbaz problem is: library has specified dependency on an internal library, but |
resolved by who? in what context? this sounds like a general issue with internal libraries that should be taken up with the ghc team? |
In particular, it looks like you're querying the db for |
With commercialhaskell/stack#3955 merged, there is no longer a case where the internal library gets confused and rebuilt |
With 79c7159 we got rid of attoparsec alltogether. |
This reverts 3bf3d4c as a temporary fix for two problems:
stack
: hakyll dependency on nightly is not cached commercialhaskell/stack#3899,stack test
rebuilds haddock-library-1.5.0.1 jgm/pandoc#4482The stack issue doesn't seem to have a clear solution and easy haddocks for haddock should make contributions easier. The revert seems like the simplest solution to me.