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

View file

@ -533,10 +533,9 @@ (define (knot-config-file config)
#~(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")