Hi 45mg

Your advice was perfect; guix gc fixed it.

Many thanks
Jake


On Sat, 22 Feb 2025 at 1:21 am, 45mg <45mg.wri...@gmail.com> wrote:

> Hi Jake,
>
> Jake <jforst.mail...@gmail.com> writes:
>
> > guix system: error: error parsing derivation
> > `/gnu/store/gr7jfs1i9iayxvymb5j0xxcfkbbkd1qy-module-import-compiled.drv':
> > expected string `Derive(['
>
> Yikes. I've dealt with this before. It was not fun.
>
> > Despite the error, it still creates a new system generation and a new
> entry
> > in the bootloader, so when I reboot I get into the new system.
>
> Lucky you. When it happened to me it caused the reconfigure to fail.
>
> Standard advice is to run `guix gc --verify=contents,repair`... but I
> don't think that will help here, since -module-import-compiled.drv is
> not substitutable AFAIK.
>
> You could see if just doing `guix gc` fixes the issue (make sure you're
> able to download substitutes right after that). Maybe that particular
> .drv is no longer required (no longer a GC root), even though it's in
> the store. If so, `guix gc` will remove it and you'll be able to
> reconfigure right after.
>
> If that doesn't fix it, try `guix gc --delete <that-file-name>`; if it
> fails, it will confirm that it is indeed still required.
>
> At that point, you can try deleting old system or home generations
> (`guix gc --list-roots` will give you a full list to work from) and then
> running `guix gc`.
>
> Or better still: wait for a while, and hopefully someone more
> experienced than me will give you more useful advice than this :)
>

Reply via email to