summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-05-08 15:06:31 +0200
committerLudovic Courtès <ludo@gnu.org>2021-05-08 15:06:31 +0200
commitf903bb7741f3a6933b29c07c7850cdd7ecb0df07 (patch)
treef4addaf238052923cf6c361ee8cab0fdc56446f7
parent3270308eebe82075d2f02517c5a2b1599928495c (diff)
downloadguix-f903bb7741f3a6933b29c07c7850cdd7ecb0df07.tar.gz
services: configuration: Export 'no-serialization' syntactic keyword.
This is a followup to 3f9a12dc082b20426fc740416601b69ea1897193.

* gnu/services/configuration.scm (no-serialization): New variable.
-rw-r--r--gnu/services/configuration.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/services/configuration.scm b/gnu/services/configuration.scm
index 77fbc61f08..21cb829382 100644
--- a/gnu/services/configuration.scm
+++ b/gnu/services/configuration.scm
@@ -44,6 +44,7 @@
             configuration-error?
 
             define-configuration
+            no-serialization
 
             serialize-configuration
             define-maybe
@@ -190,6 +191,9 @@ does not have a default value" field kind)))
     				       #,(id #'stem #'stem #'-fields))
     	       conf)))))))
 
+(define no-serialization         ;syntactic keyword for 'define-configuration'
+  '(no serialization))
+
 (define-syntax define-configuration
   (lambda (s)
     (syntax-case s (no-serialization)