aboutsummaryrefslogtreecommitdiff
path: root/guix/store.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-08 21:01:04 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-02-08 21:34:07 -0500
commit96d7535b030c65b2d8cb0bea52c4bd96cbdefaf0 (patch)
treec38235019d416b8d8d1bc20653bfad28d32dfac4 /guix/store.scm
parent84b41d2dfed2e32de815c5da23fb0b1424cb5f1c (diff)
downloadguix-96d7535b030c65b2d8cb0bea52c4bd96cbdefaf0.tar
guix-96d7535b030c65b2d8cb0bea52c4bd96cbdefaf0.tar.gz
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>
Diffstat (limited to 'guix/store.scm')
-rw-r--r--guix/store.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/guix/store.scm b/guix/store.scm
index 11dfc095b1..1d176fb99d 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -1442,7 +1442,11 @@ When a handler is installed with 'with-build-handler', it is called any time
things)))
(parameterize ((current-store-protocol-version
(store-connection-version store)))
- (when (< (current-store-protocol-version) 355) ;0x163
+ (when (< (current-store-protocol-version) #x163)
+ ;; This corresponds to the first version bump of the daemon
+ ;; since the introduction of lzip compression support. The
+ ;; version change happened with commit 6ef61cc4c30 on the
+ ;; 2018/10/15).
(warn-about-old-daemon))
(if (>= (store-connection-minor-version store) 15)
(build store things mode)