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>master
parent
79a3cd34c0
commit
b75559179e
|
@ -249,7 +249,7 @@ does not have a default value" field kind)))
|
||||||
#'(field ...)
|
#'(field ...)
|
||||||
#'(field-getter ...)
|
#'(field-getter ...)
|
||||||
#'(field-default ...))
|
#'(field-default ...))
|
||||||
(%location #,(id #'stem #'stem #'-location)
|
(%location #,(id #'stem #'stem #'-source-location)
|
||||||
(default (and=> (current-source-location)
|
(default (and=> (current-source-location)
|
||||||
source-properties->location))
|
source-properties->location))
|
||||||
(innate)))
|
(innate)))
|
||||||
|
|
Reference in New Issue