Re: registering packages in ghc using a directory of package files

2006-03-13 Thread Simon Marlow
Duncan Coutts wrote: On Mon, 2006-03-13 at 13:17 +, Simon Marlow wrote: Duncan Coutts wrote: I had in mind allowing -package-conf to specify either a directory or a file, with the obvious interpretation. I think that's how I did a version of this patch a year or so ago. My apologies

Re: registering packages in ghc using a directory of package files

2006-03-13 Thread Duncan Coutts
On Mon, 2006-03-13 at 13:17 +, Simon Marlow wrote: > Duncan Coutts wrote: > > > Attached is the current patch I'm testing. > > I think I've said in the past that in principle I like the idea. I'll > commit your patch. Great. > In terms of making this a feature we advertise in the document

I like it, was Re: registering packages in ghc using a directory of package files

2006-03-13 Thread Shae Matijs Erisson
Duncan Coutts <[EMAIL PROTECTED]> writes: > On Sun, 2006-03-12 at 21:41 +, Duncan Coutts wrote: > >> I'm somewhat tempted to patch our current ghc to do this, it might be >> easier to get that working than to get our current hacks to work >> properly. > > Attached is the current patch I'm test

Re: registering packages in ghc using a directory of package files

2006-03-12 Thread Duncan Coutts
On Sun, 2006-03-12 at 21:41 +, Duncan Coutts wrote: > I'm somewhat tempted to patch our current ghc to do this, it might be > easier to get that working than to get our current hacks to work > properly. Attached is the current patch I'm testing. It's pretty minimal. It doesn't convert everyt

registering packages in ghc using a directory of package files

2006-03-12 Thread Duncan Coutts
All, Yet again I've got annoyed by the difficulties with the way ghc registers packages. It's hard to get right. This time I had someone testing hdbc-odbc for me on ppc64. He uninstalled ghc and reinstalled it (to pick up a fix I had made) then he found that building hdbc-odbc failed because the