commit 5cde98176edca195f99365ec9da1a130fc5b559f parent 1da7a6960f250097801b0c82bcf080e56faf2c75 Author: Florian Dold <florian.dold@gmail.com> Date: Thu, 10 Jan 2019 20:52:09 +0100 fix config Diffstat:
| M | guix/custom-packages/postfix.scm | | | 11 | +++++++++-- |
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/guix/custom-packages/postfix.scm b/guix/custom-packages/postfix.scm @@ -48,7 +48,7 @@ (string-append "SHELL=" (which "sh")) (dir-setting "daemon_directory" "/libexec/postfix") (dir-setting "shlib_directory" "/lib/postfix") - (dir-setting "command_directory" "/lib/sbin") + (dir-setting "command_directory" "/sbin") (dir-setting "manpage_directory" "/share/man") (dir-setting "newaliases_path" "/bin/newaliases") (dir-setting "mailq_path" "/bin/mailq") @@ -105,7 +105,14 @@ "sendmail_path=/sbin/sendmail" "shlib_directory=/lib/postfix" "-non-interactive" - "-package")))))) + "-package"))) + (add-after 'install 'patch-master-cf + (lambda* (#:key outputs inputs configure-flags #:allow-other-keys) + (define comment + "# Guix: This value should usually not be changed, as the +# compiled-in default value correctly points to the Guix store already.") + (substitute* "postfix-install" + (("^daemon_directory=" m) (string-append comment "\n#" m)))))))) (synopsis "High-performance mail transport agent") (description "Postfix is Wietse Venema's mail transport agent that started