summary refs log tree commit diff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2016-11-23 21:43:42 +0100
committerLudovic Courtès <ludo@gnu.org>2016-11-26 19:46:01 +0100
commit5305ed20027a32ff1221cac6a131849852e807ba (patch)
tree6f813f4a070cdecaa3ef35f0690c952c04ca8d8a /gnu/local.mk
parentcf3678df6e1bdbb4bf80d2fae041be69eec2cd67 (diff)
downloadguix-5305ed20027a32ff1221cac6a131849852e807ba.tar.gz
services: Factorize configuration abstraction.
* gnu/services/mail.scm and gnu/services/cups.scm (&configuration-error)
(configuration-error, configuration-field-error)
(configuration-missing-field, configuration-field, serialize-configuration)
(validate-configuration, define-configuration, uglify-field-name)
(serialize-field, serialize-package, serialize-string)
(serialize-space-separated-string-list, space-separated-string-list?)
(serialize-file-name, file-name?, serialize-field-name)
(generate-documentation): Move duplicate code...
* gnu/services/configuration.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add configuration.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 1b2bb4786d..f3f8772337 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -399,6 +399,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/services/admin.scm			\
   %D%/services/avahi.scm			\
   %D%/services/base.scm				\
+  %D%/services/configuration.scm		\
   %D%/services/cups.scm				\
   %D%/services/databases.scm			\
   %D%/services/dbus.scm				\