summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/configuration.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/services/configuration.scm b/gnu/services/configuration.scm
index 72b1d1cec6..f23840ee6d 100644
--- a/gnu/services/configuration.scm
+++ b/gnu/services/configuration.scm
@@ -44,6 +44,7 @@
             configuration-error?
 
             define-configuration
+            define-configuration/no-serialization
             no-serialization
 
             serialize-configuration
@@ -222,6 +223,13 @@ does not have a default value" field kind)))
          #t #'(_ stem (field (field-type def ...) doc custom-serializer ...)
                  ...))))))
 
+(define-syntax-rule (define-configuration/no-serialization
+                      stem (field (field-type def ...)
+                                  doc custom-serializer ...) ...)
+  (define-configuration stem (field (field-type def ...)
+                                    doc custom-serializer ...) ...
+    (no-serialization)))
+
 (define (empty-serializer field-name val) "")
 (define serialize-package empty-serializer)