importing "in place" and packages

Simon Marlow simonmarhaskell at gmail.com
Thu Jan 4 07:34:34 EST 2007


Ashley Yakeley wrote:
> Simon Peyton-Jones wrote:
> 
>> Anyway, the solution for you is to install it.
> 
> 
> I can't install it, the package isn't finished being built at that 
> point. Or perhaps I could find a way of installing the partial package 
> to the user database.
> 
> I build part of package javavm. Then I use that to build ShowClasses. 
> Then I run ShowClasses to generate more source files. Then I use those 
> to build the rest of javavm.

Cabal provides 'setup register --inplace' for exactly this purpose.  We don't 
currently allow the use of completely local package databases - you must use the 
global or user database - but the package can be used without the files actually 
being installed.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list