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

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

It is required for cross-compilation.

* gnu/packages/code.scm
  (cloc)[inputs]: Add 'bash-minimal'.
  (lcov)[inputs]: Likewise.
---
 gnu/packages/code.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index 86730b231f..cee9668c36 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -254,7 +254,8 @@ COCOMO model or user-provided parameters.")
         (base32 "0ic9q6qqw5f1wafp9lpmhr0miasbdb9zr59c0jlymnzffdmnliyc"))))
     (build-system gnu-build-system)
     (inputs
-     `(("coreutils" ,coreutils)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("coreutils" ,coreutils)
        ("perl" ,perl)
        ("perl-algorithm-diff" ,perl-algorithm-diff)
        ("perl-digest-md5" ,perl-digest-md5)
@@ -506,7 +507,8 @@ stack traces.")
                (wrap-program (string-append out "/bin/geninfo")
                  `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
              #t)))))
-    (inputs `(("perl" ,perl)
+    (inputs `(("bash" ,bash-minimal) ; for wrap-program
+              ("perl" ,perl)
               ("perl-io-compress" ,perl-io-compress)
               ("perl-json" ,perl-json)))
     (home-page "http://ltp.sourceforge.net/coverage/lcov.php")
-- 
2.32.0