Re: Understanding ghc-pkg dependencies when not using cabal

2012-06-01 Thread Joachim Breitner
Hi, as I’m involved with the Debian packaging I can probably answer a few of your questions. Am Samstag, den 02.06.2012, 00:01 +1000 schrieb Tim Cuthbertson: > For an example, lets use ansi-terminal [1] (and assume we're building > it on a unix host) > > ansi-terminal depends on `base` and `unix

Understanding ghc-pkg dependencies when not using cabal

2012-06-01 Thread Tim Cuthbertson
Hi all, I'm very interested in distributing ghc packages via zero-install [0]. I'm excited about ghc 7.4's ${pkgroot} support, since it means that many packages could now be made relocatable (as long as they don't need to know about paths to resources, etc). But I'm having some trouble understandi

Source Location of DataCon objects in GHC 7.4.1 API

2012-06-01 Thread JP Moresmau
Hello I have a failing test in BuildWrapper when moving from GHC 7.0.4 to 7.4.1. As far I can tell, in the TypecheckedSource I get DataCon objects that have no location info, and hence I can't retrieve them by location... Which is useful in a IDE (tell me what's under my mouse cursor, tell me wher