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

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

It is required for cross-compilation.

* gnu/packages/gnupg.scm
  (signing-party)[inputs]: Add 'bash-minimal'.
  (pinentry-rofi)[inputs]: Likewise.
  (gpa)[inputs]: Likewise.
  (parcimonie)[inputs]: Likewise.
---
 gnu/packages/gnupg.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 35cfdf6f43..da50ecf7bf 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -39,6 +39,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages)
   #:use-module (gnu packages adns)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
   #:use-module (gnu packages curl)
@@ -720,7 +721,8 @@ PGP keysigning parties.")
      ;; 'configure phase.
      `(("autoconf" ,autoconf-wrapper)
        ("automake" ,automake)))
-    (inputs `(("perl" ,perl)
+    (inputs `(("bash" ,bash-minimal)
+              ("perl" ,perl)
               ("perl-text-template" ,perl-text-template)
               ("perl-mime-tools" ,perl-mime-tools)
               ("perl-gnupg-interface" ,perl-gnupg-interface)
@@ -956,7 +958,8 @@ passphrase when @code{gpg} is run and needs it.")))
        ("automake" ,automake)
        ("pkg-config" ,pkg-config)
        ("texinfo" ,texinfo)))
-    (inputs `(("guile" ,guile-3.0)
+    (inputs `(("bash" ,bash-minimal)
+              ("guile" ,guile-3.0)
               ("rofi" ,rofi)))
     (synopsis "Rofi GUI for GnuPG's passphrase input")
     (description "Pinentry-rofi is a simple graphical user interface for
@@ -1055,7 +1058,8 @@ however, pgpdump produces more detailed and easier to understand output.")
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs
-     `(("gnupg" ,gnupg)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("gnupg" ,gnupg)
        ("gpgme" ,gpgme)
        ("libassuan" ,libassuan)
        ("libgpg-error" ,libgpg-error)
@@ -1084,7 +1088,8 @@ files, to verify signatures, and to manage the private and public keys.")
                 "14pvapvzrxh1yh8zgcj1llmc2dd8g1fgzskxlja21gmw8c88aqdk"))))
     (build-system perl-build-system)
     (inputs
-     `(("gnupg" ,gnupg)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("gnupg" ,gnupg)
        ("perl-config-general" ,perl-config-general)
        ("perl-clone" ,perl-clone)
        ("perl-data" ,perl-data)
-- 
2.32.0