Subject: Re: [PATCH] doc: Add snippet for running 'guix refresh' on installed packages

From: Ludovic Courtès <[email-masked]>
Date: Thu, 18 Mar 2021 10:31:16 +0100

Xinglu Chen <[email-masked]> skribis:

> On Tue, Mar 16 2021, Ludovic Courtès wrote:

[...]

>> So I think this example may be misleading.  We could instead suggest
>> ./pre-inst-env, with a link to “Running Guix Before It Is Installed”,
>> and possibly mention the ‘--with-latest’ option as well.
>>
>> WDYT?
>
> Sorry, I should have tested the command...  When you say "--with-latest",
> do you mean `guix package -i grep --with-latest`?

Yes, see the “Package Transformation Options” section of the manual.

Ludo’.