aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-04 06:11:13 -0300
committerEuAndreh <eu@euandre.org>2025-03-04 06:47:55 -0300
commitacf5ec8ea57ea9afef081d9982dde0d40952c47c (patch)
tree54f7979c1e733f6d7de436524ee3a39186a221bc /src
parentRename dovecot dovecot2 (diff)
downloadpackages-acf5ec8ea57ea9afef081d9982dde0d40952c47c.tar.gz
packages-acf5ec8ea57ea9afef081d9982dde0d40952c47c.tar.xz
queue.scm: Add customized "dovecotx" that does not expect a global /usr/lib directory
Diffstat (limited to 'src')
-rw-r--r--src/org/euandre/queue.scm15
1 files changed, 14 insertions, 1 deletions
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)