summaryrefslogtreecommitdiff
path: root/guix/deprecation.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-03-21 23:39:43 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-03-21 23:39:43 -0400
commita9429c8f2207841c649438187d6e19046d323a16 (patch)
treea06e4b8a87b6a42742cf6750276746a10b6c2139 /guix/deprecation.scm
parentf0136b36ae8c1e9c174043bd50e0e24413c0f345 (diff)
parent49b350fafc2c3ea1db66461b73d4e304cd13ec92 (diff)
Merge branch 'staging' into core-updates.
Diffstat (limited to 'guix/deprecation.scm')
-rw-r--r--guix/deprecation.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/guix/deprecation.scm b/guix/deprecation.scm
index c66c9367f6..09a27789c9 100644
--- a/guix/deprecation.scm
+++ b/guix/deprecation.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -24,6 +25,8 @@
define-deprecated/public
define-deprecated/alias
+
+ warn-about-old-daemon
warn-about-deprecation))
;;; Commentary:
@@ -32,6 +35,11 @@
;;;
;;; Code:
+(define (warn-about-old-daemon)
+ (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)
(let ((location (and properties (source-properties->location properties))))