summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index fd324bf449..be458a2d92 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2229,6 +2229,16 @@ hashing scheme (such as scrypt) plug-in for @code{Dovecot}.")
         ;; Likely to be included in next version
         (search-patches "isync-openssl3-fix.patch"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (add-after 'install 'substitute-openssl-path
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (substitute* (string-append #$output "/bin/mbsync-get-cert")
+                 (("openssl s_client")
+                  (string-append (search-input-file inputs "/bin/openssl")
+                                 " s_client"))))))))
     (native-inputs
      (list perl))
     (inputs