Hi Simen, On November 9, 2025 11:05:26 PM GMT+01:00, "Simen Endsjø" <[email protected]> wrote: >
> guix system: error: error parsing derivation > `/gnu/store/36pill8xn2gsmbnss00jsnpkpcjwlp8c-module-import.drv': expected > string `Derive(['7 That's a file corruption in the store. See guix gc flags for verifying contents of folders in the store and potentially repairing them. You shouldnt normally get file corruptions, so it would be good to investigate what's happening. Ie. Has there been a power cut, check your disk if not... >I'm unable to >reconfigure the system as I get an empty derivation You will need to get rid of the file corruption before reconfiguring. I presume repair won't be possible, so what you will need to do is remove the file. As it is a drv file, it should be fairly trivial. You can stop the guix-daemon with herd as root and start it yourself, as root, with --gc-keep-derivations=no. (this is missing important flags, so rather dont build with this daemon, just gc) Then a simple guix gc should get you rid of every drv file. If you want to be more selective, use -D, possibly passing --debug to the daemon before hand, that way you should see what's keeping the path alive in the daemon stdout. (another possibility is using --referrers flag on gc to figure out what keeps it alive) If you happen to have more corruptions, you should also sort those. Rutherther
