deprecation: Refine the old daemon deprecation warning message.

* guix/deprecation.scm (warn-about-old-daemon): Mention a direct consequence
of failing to upgrade the daemon.
* guix/store.scm (build-things): Add a comment explaining the rationale to
emit a deprecation warning for a daemon older than version 0x163.

Suggested-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Maxim Cournoyer 2022-02-08 21:01:04 -05:00
parent 84b41d2dfe
commit 96d7535b03
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 8 additions and 3 deletions

View file

@ -36,8 +36,9 @@
;;; Code:
(define (warn-about-old-daemon)
(warning (G_ "Your Guix daemon is seriously outdated, please consider
updating it by following the 'Upgrading Guix' documentation section.~%")))
(warning (G_ "Your Guix daemon is severely outdated, and will soon cease to
be able to download binary substitutes. To upgrade it, refer to the
'Upgrading Guix' section in the manual.~%")))
(define* (warn-about-deprecation variable properties
#:key replacement)