[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29881: guix system reconfigure fails if config.scm contains LUKS map
From: |
Mark H Weaver |
Subject: |
bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices |
Date: |
Fri, 29 Dec 2017 12:33:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
address@hidden (Ludovic Courtès) writes:
> Diego Nicola Barbato <address@hidden> skribis:
>
>> When running `guix system reconfigure /etc/config.scm' as root I get the
>> following error:
>>
>> guix system: error: failed to load '/etc/config.scm':
>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct:
>> Wrong type argument in position 2: 3
>
> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
> auto-compilation cache) to work around
> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.
FYI, I also encountered the same issue recently, and indeed I needed to
clear the auto-compilation cache for my system configuration file, for
both my normal user and root.
It makes me wonder if "guix system" should force a fresh compilation of
that file by default.
Mark