On 2011-01-19 17:22, Simon Marlow wrote:
On 19/01/2011 15:16, Jost Berthold wrote:

I just noticed that the "extra libraries", libraries which darcs-all
adds when given the --extra flag, are missing in the current release
source tree darcs.haskell.org/ghc-7.0.

Of course I can (and did) simply pull what I want from the respective
upstream repos given on hackage, but it would be handy to have a copy
inside ghc-7.0/packages. Could they please be mirrored inside the
ghc-7.0 source tree in order to make darcs-all work as usual?

Can you use HEAD instead? These libraries aren't shipped with GHC, so we
don't really want to branch them.

Of course I can (see above). Just wanted to ask, it could have been a simple oversight that they have not been copied. However, it would be nice to have darcs-all work for the branch just as expected (including --extra).

And actually, for the record:
I edited file ghc/packages, prefixing all "extra" entries with "../", and it does work :) Like this (whitespace edited for mail layout):
-libraries/deepseq  extra  packages/deepseq     darcs   -
-libraries/parallel extra  packages/parallel    darcs   -
-libraries/stm      extra  packages/stm         darcs   -
+libraries/deepseq  extra  ../packages/deepseq  darcs   -
+libraries/parallel extra  ../packages/parallel darcs   -
+libraries/stm      extra  ../packages/stm      darcs   -

Not sure if this should become a patch, though, since it assumes a particular directory relation between ghc-7.0 and the head. We are/I am probably going to mirror the ghc-7.0 branch for extensions, and the patch will not work in this mirror, for one.

Thanks,
Jost

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to