[Haskell-cafe] Libraries in home dir

2008-10-09 Thread Mauricio
Hi, I want to use a few libraries from hackage and have already download and built them. Can I install those libraries somewhere in my home dir (I want to avoid installing as root) so that ghc can find them? If so, which options should I give to Setup.hs (with main=defaultMain) so that the

Re: [Haskell-cafe] Libraries in home dir

2008-10-09 Thread Dougal Stanton
On Thu, Oct 9, 2008 at 2:08 PM, Mauricio [EMAIL PROTECTED] wrote: Hi, I want to use a few libraries from hackage and have already download and built them. Can I install those libraries somewhere in my home dir (I want to avoid installing as root) so that ghc can find them? If so, which

Re: [Haskell-cafe] Libraries in home dir

2008-10-09 Thread allan
Hi, In addition if you want to do this all or most of the time, that is there are few/no cabalised libraries you DO wish to install globally, then you can tell 'cabal' to do this all the time by editing your ~/.cabal/config file. Here is mine: repos:

Re: [Haskell-cafe] Libraries in home dir

2008-10-09 Thread Daniel Fischer
Am Donnerstag, 9. Oktober 2008 15:08 schrieb Mauricio: Hi, I want to use a few libraries from hackage and have already download and built them. Can I install those libraries somewhere in my home dir (I want to avoid installing as root) so that ghc can find them? runghc ./Setup.hs configure

Re: [Haskell-cafe] Libraries in home dir

2008-10-09 Thread Alfonso Acosta
On Thu, Oct 9, 2008 at 3:08 PM, Mauricio [EMAIL PROTECTED] wrote: I want to use a few libraries from hackage and have already download and built them. Can I install those libraries somewhere in my home dir (I want to avoid installing as root) so that ghc can find them? Sure, just write:

Re: [Haskell-cafe] Libraries in home dir

2008-10-09 Thread Duncan Coutts
On Thu, 2008-10-09 at 10:08 -0300, Mauricio wrote: Hi, I want to use a few libraries from hackage and have already download and built them. Can I install those libraries somewhere in my home dir (I want to avoid installing as root) so that ghc can find them? If so, which options should