diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-08 00:54:03 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-05-08 01:04:01 -0400 |
commit | dd0826fbf345dfe7289cf943ed2d29edc51d543f (patch) | |
tree | 9210ad72f0a3dc5dc954014665742b22511ea875 /gnu | |
parent | b3e99d33990119276e895909ff8a3aa176cf8a2e (diff) |
services: configuration: Fix %location accessor name.
The non-hygienic binding of the source location accessor was set to
'-location'; in modules where multiple configurations were defined, it would
cause compilation warnings such as:
gnu/services/mail.scm:175:0: warning: shadows previous definition of
`%-location-procedure' at gnu/services/mail.scm:165:0
* gnu/services/configuration.scm (define-configuration-helper) <id>: Add a
missing #'stem argument to use the configuration name as a prefix to the
location accessor identifier.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/configuration.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/configuration.scm b/gnu/services/configuration.scm index e7eb61efe8..77fbc61f08 100644 --- a/gnu/services/configuration.scm +++ b/gnu/services/configuration.scm @@ -156,7 +156,7 @@ does not have a default value" field kind))) #,(id #'stem #'% #'stem) #,(id #'stem #'make- #'stem) #,(id #'stem #'stem #'?) - (%location #,(id #'stem #'-location) + (%location #,(id #'stem #'stem #'-location) (default (and=> (current-source-location) source-properties->location)) (innate)) |