aboutsummaryrefslogtreecommitdiff
path: root/src/org/euandre/queue.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-20 14:33:29 -0300
committerEuAndreh <eu@euandre.org>2023-03-20 14:33:29 -0300
commitd2d698ee2c325ec0ec555336a3a76653b7b91f19 (patch)
tree026f854cc2084a110ce11268fc9a909d38a58c2d /src/org/euandre/queue.scm
parentqueue.scm: Disable newaliases in Postfix activation again (diff)
downloadpackage-repository-d2d698ee2c325ec0ec555336a3a76653b7b91f19.tar.gz
package-repository-d2d698ee2c325ec0ec555336a3a76653b7b91f19.tar.xz
queue.scm: Use (string-join ...) for setting $CCARGS of postfix
Diffstat (limited to 'src/org/euandre/queue.scm')
-rw-r--r--src/org/euandre/queue.scm12
1 files changed, 9 insertions, 3 deletions
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"))