aboutsummaryrefslogtreecommitdiff
path: root/guix/store.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2022-02-08 14:28:56 +0100
committerMathieu Othacehe <othacehe@gnu.org>2022-02-08 16:29:31 +0100
commitf9c62b23cc88541756656b3ec602ce987828d906 (patch)
tree2117bc49d0770080abe50e07102cfaa4f11aacb9 /guix/store.scm
parentec5d2b54cd0c96276f4feaae863a18bc3e73ecae (diff)
downloadguix-f9c62b23cc88541756656b3ec602ce987828d906.tar
guix-f9c62b23cc88541756656b3ec602ce987828d906.tar.gz
store: Warn about daemon deprecation.
* guix/deprecation.scm (warn-about-old-daemon): New procedure. * guix/store.scm (build-things): Use it to warn about old daemons.
Diffstat (limited to 'guix/store.scm')
-rw-r--r--guix/store.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/store.scm b/guix/store.scm
index a93e9596d9..11dfc095b1 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -1442,6 +1442,8 @@ 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
+ (warn-about-old-daemon))
(if (>= (store-connection-minor-version store) 15)
(build store things mode)
(if (= mode (build-mode normal))