summaryrefslogtreecommitdiff
path: root/gnu/services/dns.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-27 00:19:41 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-27 00:19:41 +0200
commit435551f0faccb4f91cadc709ffb9819d850d7e69 (patch)
tree8c4ccf0cd9ffe694126ec4f87149572488958b6f /gnu/services/dns.scm
parentaea1a42e005cf53b8f6f5a0827bea0da428b9376 (diff)
downloadgnu-guix-435551f0faccb4f91cadc709ffb9819d850d7e69.tar
gnu-guix-435551f0faccb4f91cadc709ffb9819d850d7e69.tar.gz
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'.
Diffstat (limited to 'gnu/services/dns.scm')
-rw-r--r--gnu/services/dns.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm
index 1613325645..3aa97680a9 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")