aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-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 9797f24f1a..fd2fcd31c2 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2029,7 +2029,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")