summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-12-02 14:27:41 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-12-02 22:02:48 -0500
commitb75559179e2914b8187e1d59d2e4154c9d4f1bfe (patch)
tree16e0c5e81267c49abfe9b748b3403e6f7c73bf64 /gnu/services
parent79a3cd34c0318928186a04b6481c4d22c0051d04 (diff)
downloadguix-b75559179e2914b8187e1d59d2e4154c9d4f1bfe.tar.gz
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>
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/configuration.scm2
1 files changed, 1 insertions, 1 deletions
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)))