[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: services: configuration: Rename location accessor
From: |
guix-commits |
Subject: |
branch master updated: services: configuration: Rename location accessor to "source-location". |
Date: |
Fri, 02 Dec 2022 22:03:40 -0500 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new b75559179e services: configuration: Rename location accessor to
"source-location".
b75559179e is described below
commit b75559179e2914b8187e1d59d2e4154c9d4f1bfe
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Dec 2 14:27:41 2022 -0500
services: configuration: Rename location accessor to "source-location".
Fixes <https://issues.guix.gnu.org/59423>.
* gnu/services/configuration.scm (define-configuration-helper): Rename the
accessor of the %location field from "NAME-location" to
"NAME-source-location".
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Reported-by: Pierre Langlois <pierre.langlois@gmx.com>
---
gnu/services/configuration.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/configuration.scm b/gnu/services/configuration.scm
index dacfc52ba9..2b3bd4c1f4 100644
--- a/gnu/services/configuration.scm
+++ b/gnu/services/configuration.scm
@@ -249,7 +249,7 @@ does not have a default value" field kind)))
#'(field ...)
#'(field-getter ...)
#'(field-default ...))
- (%location #,(id #'stem #'stem #'-location)
+ (%location #,(id #'stem #'stem #'-source-location)
(default (and=> (current-source-location)
source-properties->location))
(innate)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: services: configuration: Rename location accessor to "source-location".,
guix-commits <=