Subject: bug#25852: Users not updating their installations of Guix

From: Ricardo Wurmus <[email-masked]>
Date: Fri, 12 May 2017 08:06:48 +0200

Ludovic Courtès <[email-masked]> writes:

> myglc2 <[email-masked]> skribis:
>
>> How about extending this ...
>>
>>> +      (warning (G_ "Your Guix installation is getting old.  Consider
>>> +running 'guix pull' followed by '~a' to get up-to-date
>>> +packages and security updates.\n")
>>
>> ... to inform the user how old the installation is?
>
> Good idea.  I did that and pushed as
> 7fd952e05203d975fcb6cdabd2f742ade1b31b66.

Does this do the right thing when .config/guix/latest points at a git
checkout?  The mtime of the “.config/guix/latest” link on one of my
machines is from 2016, so Guix says it is too old, but it points to a
git checkout, which is recent.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net