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
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2229,6 +2229,16 @@ (define-public isync
;; 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