~ruther/guix-local

87ffb3d3fbcc9273cb77f22e153ed31a70e2da11 — Efraim Flashner 2 years ago 00feb98
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.
1 files changed, 10 insertions(+), 0 deletions(-)

M gnu/packages/mail.scm
M gnu/packages/mail.scm => gnu/packages/mail.scm +10 -0
@@ 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