1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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.
This commit is contained in:
Efraim Flashner
2023-10-09 09:13:17 +03:00
parent 00feb9865a
commit 87ffb3d3fb

View File

@@ -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