From 435551f0faccb4f91cadc709ffb9819d850d7e69 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 27 Apr 2019 00:19:41 +0200 Subject: 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(-) (limited to 'gnu') 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") -- cgit v1.2.3