diff options
author | Wojtek Kosior <koszko@koszko.org> | 2024-01-11 17:30:20 +0100 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2025-02-17 14:18:55 +0100 |
commit | 6d03c923401941163186de7090110ab070a29c24 (patch) | |
tree | 4c54883b36f05793705817c9e13c14ede85b8f4b | |
parent | cd410f06831b8747394e13115eebaa8e5723355b (diff) | |
download | guix-6d03c923401941163186de7090110ab070a29c24.tar.gz guix-6d03c923401941163186de7090110ab070a29c24.zip |
gnu: exim: Use /etc/exim.conf as the default config file.
* gnu/packages/mail.scm (exim)[arguments]<#:phases>['symlink-config-file]: New
phase.
Change-Id: I1be49e4a042b42e38ebff8aeff0e9cfc8724456b
-rw-r--r-- | gnu/packages/mail.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 8f403f54f1..2b7a7f1488 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -2082,7 +2082,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") |