Subject: [PATCH core-updates 015/128] gnu: mail: Add 'bash' input for 'wrap-program'.

From: Maxime Devos <[email-masked]>
Date: Fri, 2 Jul 2021 12:06:21 +0200

It is required for cross-compilation.

* gnu/packages/mail.scm
  (astroid)[inputs]: Add 'bash-minimal'.
  (notifymuch)[inputs]: Likewise.
  (dkimproxy)[inputs]: Likewise.
  (swaks)[inputs]: Likewise.
  (mumi)[inputs]: Likewise.
  (public-inbox)[inputs]: Likewise.
---
 gnu/packages/mail.scm | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 866b0295b1..2b05a4c6af 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -899,7 +899,8 @@ mailpack.  What can alterMIME do?
        ("w3m" ,w3m)
        ("xorg-server" ,xorg-server)))
     (inputs
-     `(("boost" ,boost)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("boost" ,boost)
        ("gmime" ,gmime)
        ("gobject-introspection" ,gobject-introspection) ; it is referenced
        ("gtkmm" ,gtkmm)
@@ -1300,7 +1301,8 @@ Notmuch.")
          (file-name (string-append name "-" version "-checkout"))))
       (build-system python-build-system)
       (inputs
-       `(("python-notmuch" ,python-notmuch)
+       `(("bash" ,bash-minimal) ; for wrap-program
+         ("python-notmuch" ,python-notmuch)
          ("python-pygobject" ,python-pygobject)
          ("gobject-introspection" ,gobject-introspection)
          ("libnotify" ,libnotify)
@@ -2638,7 +2640,8 @@ DKIM and/or DomainKeys.")
                               "perl-timedate"))
                #t))))))
     (inputs
-     `(("perl" ,perl)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("perl" ,perl)
        ("perl-crypt-openssl-rsa" ,perl-crypt-openssl-rsa)
        ("perl-io-socket-inet6" ,perl-io-socket-inet6)
        ("perl-mailtools" ,perl-mailtools)
@@ -3612,7 +3615,8 @@ on the fly.  Both programs are written in C and are very fast.")
         (base32 "131i2b1yxhnbqkfk4kky40pfanqw2c5lcgbnjhfqp5cvpawpk2ai"))))
     (build-system perl-build-system)
     (inputs
-     `(("perl-io-socket-inet6" ,perl-io-socket-inet6)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("perl-io-socket-inet6" ,perl-io-socket-inet6)
        ("perl-net-dns" ,perl-net-dns)
        ("perl-net-ssleay" ,perl-net-ssleay)
        ("perl-socket6" ,perl-socket6))) ; used by perl-io-socket-inet6
@@ -3991,7 +3995,8 @@ It is a replacement for the @command{urlview} program.")
                      (,go ,(getenv "GUILE_LOAD_COMPILED_PATH"))))
                  #t))))))
       (inputs
-       `(("guile-email" ,guile-email-latest)
+       `(("bash" ,bash-minimal) ; for wrap-program
+         ("guile-email" ,guile-email-latest)
          ("guile-fibers" ,guile-fibers)
          ("guile-gcrypt" ,guile-gcrypt)
          ("guile-json" ,guile-json-3)
@@ -4133,7 +4138,8 @@ Git and exports them in maildir format or to an MDA through a pipe.")
        ("lsof" ,lsof)
        ("openssl" ,openssl)))
     (inputs
-     `(("git" ,git)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("git" ,git)
        ("perl-dbd-sqlite" ,perl-dbd-sqlite)
        ("perl-dbi" ,perl-dbi)
        ("perl-email-address-xs" ,perl-email-address-xs)
-- 
2.32.0