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

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

It is required for cross-compilation.

* gnu/packages/rust.scm
  (rust-1.29)[inputs]: Add 'bash-minimal'.
  (rust-1.30)[inputs]: Likewise.
---
 gnu/packages/rust.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 2d29c2acd7..2cc56bc5aa 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -30,6 +30,7 @@
 
 (define-module (gnu packages rust)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages bootstrap)
   #:use-module (gnu packages cmake)
@@ -154,7 +155,8 @@
                   (max-silent-time . 18000))) ;5 hours (for armel)
     (build-system gnu-build-system)
     (inputs
-     `(("libcurl" ,curl)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("libcurl" ,curl)
        ("libssh2" ,libssh2)
        ;; Use llvm-7, which enables rust to be built reproducibly.
        ;; Versions newer than 7 fail to compile.
@@ -431,7 +433,8 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
        ("cargo-bootstrap" ,rust-1.29 "cargo")
        ("which" ,which)))
     (inputs
-     `(("jemalloc" ,jemalloc-4.5.0)
+     `(("bash" ,bash-minimal)           ; For wrap-program
+       ("jemalloc" ,jemalloc-4.5.0)
        ("llvm" ,llvm-7)
        ("openssl" ,openssl)
        ("libssh2" ,libssh2)             ; For "cargo"
-- 
2.32.0