guix-commits
[Top][All Lists]
Advanced

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

03/03: services: knot: Fix configuration file generation.


From: guix-commits
Subject: 03/03: services: knot: Fix configuration file generation.
Date: Fri, 26 Apr 2019 18:51:45 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 435551f0faccb4f91cadc709ffb9819d850d7e69
Author: Ludovic Court├Ęs <address@hidden>
Date:   Sat Apr 27 00:19:41 2019 +0200

    services: knot: Fix configuration file generation.
    
    Fixes a regression introduced in
    92eb600f8a94afa36142f8f145efaa485b632433.
    
    * gnu/services/dns.scm (knot-config-file): Add ungexp around call to
    'knot-configuration-includes'.
---
 gnu/services/dns.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm
index 1613325..3aa9768 100644
--- a/gnu/services/dns.scm
+++ b/gnu/services/dns.scm
@@ -533,10 +533,9 @@
     #~(begin
         (call-with-output-file #$output
           (lambda (port)
-            (if (knot-configuration-includes config)
-              (for-each (lambda (inc)
-                          (format port "include: ~a\n" inc))
-                (knot-configuration-includes config)))
+            (for-each (lambda (inc)
+                        (format port "include: ~a\n" inc))
+                      '#$(knot-configuration-includes config))
             (format port "server:\n")
             (format port "    rundir: ~a\n" 
#$(knot-configuration-run-directory config))
             (format port "    user: knot\n")



reply via email to

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