Ashley Yakeley wrote:
The 6.2 version of ghc-pkg is incorrectly parses commas within quotes. [...]

This was a side-effect of a slighty obscure feature of ghc-pkg. I've made things more robust now. From the CVS log:

------------------------------------------------------------------------------
Fixed the previous commit: All lists of Strings in package configuration files
were split at commas to allow list-based variables, but this broke perfectly
sensible things like

["-Wl,-rpath,/usr/lib/jvm-bridge/lib/"]

into

["-Wl","-rpath","/usr/lib/jvm-bridge/lib/"]

which is plainly wrong. Now we do this *only* when a variable occurs on its own,
like:

["${deps}","foo"] => ["base","haskell98","network","foo"]

I have slight doubts about this obscure feature, but Sigbjorn seems to want
it...
------------------------------------------------------------------------------

I can't see a good workaround, either, so you'll probably have to wait for the
next release...   :-(

Cheers,
   S.

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to