mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
Revert "gnu: dovecot: Set moduledir to global directory."
This reverts commitdb0109be42
. Same reason as commitd9d88c2ff0
.
This commit is contained in:
parent
d9d88c2ff0
commit
54151d1af5
1 changed files with 1 additions and 6 deletions
|
@ -1453,7 +1453,6 @@ (define-public dovecot
|
|||
(arguments
|
||||
`(#:configure-flags '("--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
"--with-moduledir=/etc/dovecot/modules"
|
||||
"--with-sqlite" ; not auto-detected
|
||||
"--with-lucene") ; not auto-detected
|
||||
#:phases
|
||||
|
@ -1472,13 +1471,9 @@ (define-public dovecot
|
|||
(("cat") (which "cat")))
|
||||
#t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs make-flags #:allow-other-keys)
|
||||
;; The .la files don't like having the moduledir moved.
|
||||
(for-each delete-file (find-files "." "\\.la"))
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
;; Simple hack to avoid installing a trivial README in /etc.
|
||||
(apply invoke "make" "install" "sysconfdir=/tmp/bogus"
|
||||
(string-append "moduledir=" (assoc-ref outputs "out")
|
||||
"/lib/dovecot")
|
||||
make-flags))))))
|
||||
(home-page "https://www.dovecot.org")
|
||||
(synopsis "Secure POP3/IMAP server")
|
||||
|
|
Loading…
Reference in a new issue