>> Thank you, this was useful. I was able to catch and report the error. I > > Where have you reported the error? I reported the error to the derivation log. For example, if the derivation for the guix-package-cache derivation is /gnu/store/cyf2h3frcjxm147dii5qic8d6kpm39nq-guix-package-cache.drv, the log file will be at /var/log/guix/drvs/cy/f2h3frcjxm147dii5qic8d6kpm39nq-guix-package-cache.drv.bz2. Notice that the directory name under drvs is the first two letters of the hash, and the file name under that directory is the remaining letters. Also please find attached a dump of my code so far. >> This could be a permission error, or something to do with the existence >> or lack thereof of certain directories (such as /var) in the chroot of >> the build daemon. I'm still figuring it out. > > Hum? And this should explain why it is working with the REPL and not > with the CLI, right? This could expalin it, but I am not sure if this is the correct explanation. >> I'm also in half a mind to get some guile xapian bindings ready so we >> can just do that instead of messing with sqlite here. But, let's >> see. :-P > > Cool! > Let me know if you push something somewhere. Sure, will let you know.