- Adapted the package to work with GHC 6.12
- Plugins that depend on the old base3 are currently
not correctly loaded as the plugin loaded misses
the dependence on syb (leading to unresolved symbols)
- Cleaned up most of the testsuite (there are still
some outstanding failures, of which only one
demonstrates a bug in the plugins library as far
as I can see — see previous bullet point)
- Cleaned out a little cruft (but more could be done)
This happens quite often on Mac OS X in my experience. $TMPDIR is set to a private location with the name apparently generated by some hashing algorithm. I wouldn't be surprised if it is derived from the username somehow, as my accounts consistently wind up with 'X's in their $TMPDIR, on many systems.
decode was being called on the module names in loadDepends, however
these strings were not Z-coded. Most of the time decode just returns
the string unmodified, which is why this problem has not caused
widespread failure.
This patch allows run plugins, containig
import of --user installed packages. Useful
for lambdabot installation in $HOME.
package.conf are found by parsing `ghc-pkg list`
This is still *very* kludgey, and it needs lots of work which I'm not
entirely prepared for, seeing as I really don't know anything about
the ghc-api and how things are supposed to fit together. It is quite
conceivable that the code could be simplified much further by someone who
actually understands the ghc-api, and there may be bugs related to the fact
that I don't actually know what some things do. However, this builds
and does appear to work. Most of the testsuite is passing.