aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 258e69341e..30fa194df3 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2067,7 +2067,13 @@ delivery.")
;; same source tree and varies across different (parallel?)
;; builds. Make it a ‘constant number’ instead.
(substitute* "src/version.c"
- (("#include \"cnumber.h\"") "1")))))
+ (("#include \"cnumber.h\"") "1"))))
+ (add-after 'install 'symlink-config-file
+ (lambda _
+ (let ((config-path (string-append #$output
+ "/etc/exim.conf")))
+ (delete-file config-path)
+ (symlink "/etc/exim.conf" config-path)))))
#:make-flags
#~(list (string-append "CC=" #$(cc-for-target))
"INSTALL_ARG=-no_chown")