Re: Hugs' build system

Ross Paterson <[email protected]> Mon, 26 Feb 2007 12:18:04 +0000
Newsgroups gmane.comp.lang.haskell.cvs.hugs
Message-ID <[email protected]>
On Mon, Feb 26, 2007 at 12:46:21PM +0100, Sven Panne wrote:
> I think a file containing lines like
> 
>    core base ???
>    core Cabal ???
>    extra OpenGL ???
>    extra http://www.cs.york.ac.uk/fp/darcs/polyparse ???
>    ...
> 
> might do the trick, with the first column describing the status of the package 
> and the second column the place to get the bleeding edge version of it 
> (non-http: repositories can be calculated via the repository for hugs itself, 
> see the darcs-all script for GHC, nhc98 lacks this feature). The tricky part 
> is the third column, describing the released version to use for release 
> builds. I guess we should use hackage somehow, but currently I fail to see 
> how... :-( Any suggestions?

Package name+version determines the URL of the tarball stored in HackageDB,
e.g.
	http://hackage.haskell.org/packages/archive/OpenGL/OpenGL-2.1.tar.gz

and we can just assume that all packages of interest are there.