guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 96558456df41acbbff20c96328eeb50f43f7bf83
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sun Oct 19 11:27:50 2025 +0200
services: herd: Use the non-deprecated form of ‘register-services’.
Passing a rest list to ‘register-services’ is deprecated since version
0.10.0
of the Shepherd.
* gnu/services/herd.scm (load-services): Pass a list to ‘register-services’.
Change-Id: Id6325259aed86d02510d4c741c0cd41c4566d3c8
---
gnu/services/herd.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/services/herd.scm b/gnu/services/herd.scm
index 06361ba49e..46fbe1fc98 100644
--- a/gnu/services/herd.scm
+++ b/gnu/services/herd.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016-2019, 2022-2023 Ludovic Courtès <[email protected]>
+;;; Copyright © 2016-2019, 2022-2023, 2025 Ludovic Courtès <[email protected]>
;;; Copyright © 2017, 2020 Mathieu Othacehe <[email protected]>
;;; Copyright © 2023 Maxim Cournoyer <[email protected]>
;;;
@@ -297,9 +297,9 @@ service is transient."
"Load and register the services from FILES, where FILES contain code that
returns a shepherd <service> object."
(eval-there `(register-services
- ,@(map (lambda (file)
- `(primitive-load ,file))
- files))))
+ (list ,@(map (lambda (file)
+ `(primitive-load ,file))
+ files)))))
(define load-services/safe
;; Deprecated. It used to behave differently before service replacements