Subject: [bug#49327] [PATCH core-updates 010/128] gnu: databases: Add 'bash' input for 'wrap-program'.

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

It is required for cross-compilation.

* gnu/packages/databases.scm
  (ephemeralpg)[inputs]: Add 'bash-minimal'.
  (sqitch)[inputs]: Likewise.
  (python-sqlparse)[inputs]: Likewise.
---
 gnu/packages/databases.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 919633a4e6..5c4e285c80 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -231,7 +231,8 @@ either single machines or networked clusters.")
              #t)))
        #:test-target "test"))
     (inputs
-     `(("postgresql" ,postgresql)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("postgresql" ,postgresql)
        ("util-linux" ,util-linux)))
     (native-inputs
      ;; For tests.
@@ -1530,7 +1531,8 @@ for example from a shell script.")
        ("perl-test-nowarnings" ,perl-test-nowarnings)
        ("perl-test-warn" ,perl-test-warn)))
     (inputs
-     `(("perl-class-xsaccessor" ,perl-class-xsaccessor)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("perl-class-xsaccessor" ,perl-class-xsaccessor)
        ("perl-clone" ,perl-clone)
        ("perl-config-gitlike" ,perl-config-gitlike)
        ("perl-datetime" ,perl-datetime)
@@ -3543,6 +3545,8 @@ is designed to have a low barrier to entry.")
                    ,(map (lambda (output)
                            (string-append output sitedir))
                          (list python out))))))))))
+    (inputs
+     `(("bash" ,bash-minimal))) ; for wrap-program
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/andialbrecht/sqlparse")
-- 
2.32.0