summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-12-02 14:27:41 -0500
committerLudovic Courtès <ludo@gnu.org>2022-12-04 21:47:19 +0100
commit41407fda7a80be39313c1b2b7e8c7e2bee2b9e5e (patch)
tree53abb72afb0cfbde9fba1ebc03a860e5dc125393 /gnu
parent90612b9f1f5fe2d976356e4fa40293a245ebd6c5 (diff)
downloadguix-41407fda7a80be39313c1b2b7e8c7e2bee2b9e5e.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')
-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)))