[Haskell-cafe] Hiding platform packages in Cabal sandboxes

Brandon Allbery allbery.b at gmail.com
Wed Oct 15 14:47:46 UTC 2014


On Wed, Oct 15, 2014 at 9:07 AM, Sven Panne <svenpanne at gmail.com> wrote:

> And for other packages I even have to add several --constraint flags,
> because they depend on several locally modified packages. This seems a
> bit weird. Is this the recommended workflow? How do other maintainers
> of platform packages handle this? What one *actually* wants is hiding
> some of the globally exposed packages while being in the sandbox
> (--constraint and --force-reinstalls could go away then), but I've
> found no way to do that.
>

As I understand it, ghc doesn't give cabal enough hooks into its package
management to do it properly. I'd be looking at hsenv to set up a sandboxed
ghc instead.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141015/a4b0394c/attachment.html>


More information about the Haskell-Cafe mailing list