[Haskell-cafe] runghc Setup.hs doitall

Don Stewart dons at galois.com
Sun Jan 18 13:35:12 EST 2009


duncan.coutts:
> On Sun, 2009-01-18 at 17:58 +0100, Daniel Fischer wrote:
> > Am Sonntag, 18. Januar 2009 17:22 schrieb Sebastian Sylvan:
> > > Is there some sort of bundle that you can use to install cabal-install
> > > easily? Because it looks to me like I'd have to spend the better part of an
> > > evening manually downloading and installing the gazillion of dependencies
> > > it has, which is far too much work when I just wanted to spend ten minutes
> > > playing with some package...
> > >
> > 
> > Wait, 'gazillion of dependencies'? If you have the extralibs bundle built, 
> > there are only three dependencies to take care of
> > - a recent Cabal library
> > - HTTP
> > - zlib
> 
> I think the problem is that hackage is misleading. It looks from the
> hackage page like there are a gazillion dependencies when in fact as you
> say there are only 2 that are not included with the latest ghc.
> 
> The solution some have suggested would be for hackage to only list
> dependencies that are not in some core set.

Hmm. That's interesting. As we do in the distro tools, for example, 

    makedepends=('ghc=6.10.1' 'haskell-http<4000' 'haskell-zlib')

    http://repos.archlinux.org/viewvc.cgi/community/devel/cabal-install/PKGBUILD?revision=1.1&root=community&pathrev=CURRENT

So the distro packaging tools already have the 'implicit set' of things
we know are on the system if ghc is on it too.

-- Don


More information about the Haskell-Cafe mailing list