[Haskell-cafe] Hackage -> MacPorts?
duncan.coutts at worc.ox.ac.uk
Thu Sep 4 05:19:39 EDT 2008
On Wed, 2008-09-03 at 17:54 -0400, David Menendez wrote:
> On Wed, Sep 3, 2008 at 4:14 PM, John MacFarlane <jgm at berkeley.edu> wrote:
> > It would be great if there were an automated or semi-automated way
> > of generating a MacPorts Portfile from a HackageDB package, along
> > the lines of dons' cabal2arch. Has anyone been working on such a thing?
> > And, are any haskell-cafe readers MacPorts committers?
> Gregory Wright handles the ports of GHC, alex, happy, haddock, and others.
> In my experience thus far, MacPorts feels like a poor match for Cabal.
> As far as I can tell, you get at most one active installation of a
> given port, which means you can't use MacPorts to manage packages for
> multiple Haskell environments (GHC and Hugs, stable GHC and
> development GHC, etc.), and after a GHC upgrade, any installed Haskell
> packages will still be installed, even though the new GHC can't see or
> use them.
That's exactly the same situation as with Gentoo. We provide a
ghc-updater program that re-installs all the existing libs for the new
ghc. Gentoo also only provides libs for ghc.
More information about the Haskell-Cafe