mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
scripts: Skip 'guix pull' suggestion when running code from a checkout.
* guix/scripts.scm (warn-about-old-distro): Do not warn when GUIX_UNINSTALLED is set.
This commit is contained in:
parent
45c0d1d790
commit
9e5f2060ad
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@ (define age
|
|||
"Your Guix installation is ~a days old.\n"
|
||||
(seconds->days age))
|
||||
(seconds->days age)))
|
||||
(when (or (not age) (>= age old))
|
||||
(when (and (or (not age) (>= age old))
|
||||
(not (getenv "GUIX_UNINSTALLED")))
|
||||
(warning (G_ "Consider running 'guix pull' followed by
|
||||
'~a' to get up-to-date packages and security updates.\n")
|
||||
suggested-command)
|
||||
|
|
Loading…
Reference in a new issue