summary refs log tree commit diff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-09 09:13:17 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-09 15:30:49 +0300
commit87ffb3d3fbcc9273cb77f22e153ed31a70e2da11 (patch)
tree20815a4b07fcdcfa98d436909dfd1f599a7357e5 /gnu/packages/mail.scm
parent00feb9865a381b84d5ed6d6fda040067cfb5741f (diff)
downloadguix-87ffb3d3fbcc9273cb77f22e153ed31a70e2da11.tar.gz
gnu: isync: Patch path to openssl binary.
* gnu/packages/mail.scm (isync)[arguments]: Add a phase to patch the
path to the openssl binary for mbsync-get-cert.
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