Hi Magnus,
there seems to be a misunderstanding. I created the missing symlinks
from repo.db.tar.gz to haskell.db.tar.gz in both the i686 and the x86_64
repository, so the change you made in that commit is no longer required.
You can use the exact same repository for building in a chroot sandbox
and for serving it to the public via Pacman.
I hope this helps,
Peter