Nikita Karetnikov <nik...@karetnikov.org> skribis: > I’d like to test a patch with the empty store. I deleted ‘/gnu’ and > reinstalled Guix. But whenever I call (package-derivation store hello), > I run into “ERROR: In procedure open-file: No such file or directory: > "/gnu/store/…-guile-bootstrap-2.0.drv".” Did I forget to delete any > cached files?
Yes, probably /var/guix/db/db.sqlite (or similar) was left behind, leading to an inconsistency (this database contains info about what’s in the store.) HTH, Ludo’.