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
@ -173,7 +173,8 @@ Show what and how will/would be built."
|
||||
"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 New Issue
Block a user