proposal for ghc-pkg to use a directory of .conf files

Simon Marlow simonmar at microsoft.com
Tue Nov 9 05:30:51 EST 2004


On 08 November 2004 18:47, Duncan Coutts wrote:

> We can use ghc-pkg at the build / install-into-temp phase to create
> the $(package).conf files under
> $TMP_INSTALL_ROOT/usr/lib/ghc-$VER/package.conf.d/ and then final
> installation is jsut merging files without any post-install calls to
> ghc-pkg to modify installed files (ie the global ghc package.conf
> file) 
> 
> So we can still keep the abstraction of $HC-pkg and gain simpler
> packaging stuff.

Ok, sounds reasonable.

I'm going to be working on the package support in ghc and ghc-pkg to
improve support for Cabal, so let's do this at the same time.

Cheers,
	Simon


More information about the Libraries mailing list