summaryrefslogtreecommitdiff
path: root/guix/custom-packages
diff options
context:
space:
mode:
Diffstat (limited to 'guix/custom-packages')
-rw-r--r--guix/custom-packages/postfix.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/custom-packages/postfix.scm b/guix/custom-packages/postfix.scm
index 3e442be..97e858a 100644
--- a/guix/custom-packages/postfix.scm
+++ b/guix/custom-packages/postfix.scm
@@ -111,7 +111,9 @@
(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"
+ (substitute* (string-append
+ (assoc-ref outputs "out")
+ "/etc/postfix/main.cf")
(("^daemon_directory=" m) (string-append comment "\n#" m))))))))
(synopsis "High-performance mail transport agent")
(description