From acf5ec8ea57ea9afef081d9982dde0d40952c47c Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 4 Mar 2025 06:11:13 -0300 Subject: queue.scm: Add customized "dovecotx" that does not expect a global /usr/lib directory --- src/org/euandre/queue.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/org/euandre/queue.scm b/src/org/euandre/queue.scm index 783f813..6d4f450 100644 --- a/src/org/euandre/queue.scm +++ b/src/org/euandre/queue.scm @@ -595,6 +595,18 @@ collections.OrderedDict that works in Python 2.4-2.6.") (modify-inputs (package-propagated-inputs mpv) (replace "ffmpeg" ffmpegx))))) +(define-public dovecotx + (package + (inherit dovecot) + (name "dovecotx") + (arguments + (substitute-keyword-arguments (package-arguments dovecot) + ((#:tests? _ #f) #f) + ((#:configure-flags flags) + #~(filter (lambda (flag) + (not (string=? flag "--with-moduledir=/usr/lib/dovecot"))) + #$flags)))))) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -1454,7 +1466,7 @@ correctly."))) dovecot2-configuration make-dovecot2-configuration dovecot2-configuration? - (package dovecot2-configuration-package (default dovecot)) + (package dovecot2-configuration-package (default dovecotx)) (mail-location dovecot2-configuration-mail-location (default "/var/mail/")) (raw-file dovecot2-configuration-raw-file (default #f)) (extra-content dovecot2-configuration-extra-content (default "")) @@ -1997,6 +2009,7 @@ SetEnv GIT_CONFIG_GLOBAL=/etc/gitconfig"))) gm2 ffmpegx mpvx + dovecotx sqlitex scryptkdf go-full) -- cgit v1.2.3