From 6128f1cf80e1bfda6bdc2338fcfff44b4f0285c6 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 11 Jan 2024 17:30:20 +0100 Subject: 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 --- gnu/packages/mail.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3 f='/guix/commit/scripts/guix.in?id=bf7b08c4fe7d14c25a83bde99f19eca1119d88ff'>commitdiff
path: root/scripts/guix.in
AgeCommit message (Expand)Author