guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/11: services: configuration: Export 'no-serialization' syntactic keyw


From: guix-commits
Subject: 11/11: services: configuration: Export 'no-serialization' syntactic keyword.
Date: Sat, 8 May 2021 09:09:00 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit f903bb7741f3a6933b29c07c7850cdd7ecb0df07
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sat May 8 15:06:31 2021 +0200

    services: configuration: Export 'no-serialization' syntactic keyword.
    
    This is a followup to 3f9a12dc082b20426fc740416601b69ea1897193.
    
    * gnu/services/configuration.scm (no-serialization): New variable.
---
 gnu/services/configuration.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/services/configuration.scm b/gnu/services/configuration.scm
index 77fbc61..21cb829 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]