aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/mail.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index d04fc518c8..0effaa16a2 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2030,12 +2030,12 @@ transfer protocols.")
;; historical interfaces such as sendmail, newaliases or makemap, the
;; smtpctl utility can operate in compatibility mode if called with the
;; historical name.
- (add-after 'install 'install-compabilitymode
- (lambda _
- (let* ((out (assoc-ref %outputs "out"))
+ (add-after 'install 'install-compability-links
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
(sbin (string-append out "/sbin/")))
- (for-each (lambda (cmd)
- (symlink "smtpctl" (string-append sbin cmd)))
+ (for-each (lambda (command)
+ (symlink "smtpctl" (string-append sbin command)))
'("makemap" "sendmail" "send-mail"
"newaliases" "mailq")))
#t)))))