[Haskell-cafe] cabal-dev add-source

Ozgun Ataman ozataman at gmail.com
Fri Feb 8 19:24:09 CET 2013



On Friday, February 8, 2013 at 1:19 PM, Johan Tibell wrote:

> On Fri, Feb 8, 2013 at 10:07 AM, JP Moresmau <jpmoresmau at gmail.com (mailto:jpmoresmau at gmail.com)> wrote:
> > Johan, thanks, that brings me to a point that I wanted to raise. I'm playing with cabal-dev because users have asked me to add support for it in EclipseFP (so projects could have their own sandbox and have dependencies between projects without polluting the main package databases). It is worth it, or should I just wait for cabal 1.18 and use the sandboxing facility? Or will the two work similarly enough that supporting both will be easy? Does the sandboxing in cabal means that tools like cabal-dev are going to get deprecated? 
> 
> I think they will be similar enough that you could easily port the code. The new cabal sandboxing will work as follows:
> 
> cabal sandbox --init
> cabal add-source <dir>
> 
> and then you use cabal commands like normal (e.g. configure, build, test). No installing necessary.
> 
> I cannot speak for the cabal-dev developers. We do intend to support a superset of the cabal-dev functionality eventually. What we're missing now is ghci support.
Which, thanks to Johan's help yesterday, can still be worked around (for now) by starting ghci with:

ghci -package-conf ./cabal-sandbox/your-package-conf-folder-here/ 

I'm trying to get Emacs haskell-mode and inferior-haskell to play nice with this, but it's not working so far for some reason.
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org (mailto:Haskell-Cafe at haskell.org)
> http://www.haskell.org/mailman/listinfo/haskell-cafe
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130208/6a4fce4c/attachment.htm>


More information about the Haskell-Cafe mailing list