From d2d698ee2c325ec0ec555336a3a76653b7b91f19 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 20 Mar 2023 14:33:29 -0300 Subject: queue.scm: Use (string-join ...) for setting $CCARGS of postfix --- src/org/euandre/queue.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm index 1ba944c..624e5a8 100644 --- a/src/org/euandre/queue.scm +++ b/src/org/euandre/queue.scm @@ -265,9 +265,15 @@ "return;")))) (add-before 'configure 'setup-environment (lambda* (#:key outputs inputs #:allow-other-keys) - (setenv "CCARGS" (string-append "-DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I" - (assoc-ref inputs "cyrus-sasl") - "/include/sasl")) + (setenv "CCARGS" + (string-join (list + "-DUSE_TLS" + "-DUSE_SASL_AUTH" + "-DUSE_CYRUS_SASL" + "-I" + (string-append + (assoc-ref inputs "cyrus-sasl") "/include/sasl")) + " ")) (setenv "AUXLIBS" "-lnsl -lcrypto -lssl -lsasl2") (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin")) -- cgit v1.2.3