Ludovic Courtès <l...@gnu.org> writes:

> Heya,
>
> Ricardo Wurmus <rek...@elephly.net> skribis:
>
>> I’m in the same situation upgrading a machine that didn’t have an
>> Internet connection for months.
>>
>> Here’s what I do:
>>
>> - use a git checkout to jump to commit
>>   b0cb92b2d43a2c4d5fa9b3f8c04c5732c60061e7, which adds guile-gcrypt
>>
>> - ./bootstrap && ./configure --localstatedir=/var && make clean && make
>>
>> - ./pre-inst-env guix package -i guile guile-sqlite3 guile-json
>>   guile-ssh guile-gcrypt
>>
>> - update to the latest version
>
> Just a reminder so people don’t run away ;-): the upgrade story got much
> better shortly before 0.15.0, when ‘guix pull’ got the ability to “build
> Guix from Guix” in a way that does not rely* on the currently installed
> Guix.  For example, you can run 0.15’s ‘guix pull’ and upgrade to
> today’s Guix without problems.

Yes, this is correct.

The above recipe works when Guix is used exclusively from a git
checkout.  Using “guix pull” via version 0.15.0 is easier.

--
Ricardo


Reply via email to