services: knot: Fix configuration file generation.

Fixes a regression introduced in
92eb600f8a.

* gnu/services/dns.scm (knot-config-file): Add ungexp around call to
'knot-configuration-includes'.
This commit is contained in:
Ludovic Courtès 2019-04-27 00:19:41 +02:00
parent aea1a42e00
commit 435551f0fa
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 4 deletions

View File

@ -533,10 +533,9 @@
#~(begin #~(begin
(call-with-output-file #$output (call-with-output-file #$output
(lambda (port) (lambda (port)
(if (knot-configuration-includes config) (for-each (lambda (inc)
(for-each (lambda (inc) (format port "include: ~a\n" inc))
(format port "include: ~a\n" inc)) '#$(knot-configuration-includes config))
(knot-configuration-includes config)))
(format port "server:\n") (format port "server:\n")
(format port " rundir: ~a\n" #$(knot-configuration-run-directory config)) (format port " rundir: ~a\n" #$(knot-configuration-run-directory config))
(format port " user: knot\n") (format port " user: knot\n")