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

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

It is required for cross-compilation.

* gnu/packages/maths.scm
  (units)[inputs]: Add 'bash-minimal'.
  (vuesz)[inputs]: Likewise.
  (maxima)[inputs]: Likewise.
  (wxmaxima)[inputs]: Likewise.
---
 gnu/packages/maths.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4b33056d1e..39720deeb9 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -82,6 +82,7 @@
   #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages check)
@@ -329,7 +330,8 @@ programming language.")
                      "1bybhqs4yrly9myb5maz3kdmf8k4fhk2m1d5cbcryn40z6lq0gkc"))))
    (build-system gnu-build-system)
    (inputs
-    `(("readline" ,readline)
+    `(("bash" ,bash-minimal)            ;for wrap-program
+      ("readline" ,readline)
       ("python" ,python-wrapper)        ;for 'units_cur' script
       ("python-requests" ,python-requests)))
    (arguments
@@ -2359,7 +2361,8 @@ ASCII text files using Gmsh's own scripting language.")
        ("qttools" ,qttools)
        ("python-sip" ,python-sip-4)))
     (inputs
-     `(("ghostscript" ,ghostscript) ;optional, for EPS/PS output
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("ghostscript" ,ghostscript) ;optional, for EPS/PS output
        ("python-dbus" ,python-dbus)
        ("python-h5py" ,python-h5py) ;optional, for HDF5 data
        ("python-pyqt" ,python-pyqt)
@@ -3570,7 +3573,8 @@ to BMP, JPEG or PNG image formats.")
        (patches (search-patches "maxima-defsystem-mkdir.patch"))))
     (build-system gnu-build-system)
     (inputs
-     `(("gcl" ,gcl)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("gcl" ,gcl)
        ("gnuplot" ,gnuplot)                       ;for plots
        ("sed" ,sed)
        ("tk" ,tk)))                               ;Tcl/Tk is used by 'xmaxima'
@@ -3687,7 +3691,8 @@ point numbers.")
     (native-inputs
      `(("gettext" ,gettext-minimal)))
     (inputs
-     `(("wxwidgets" ,wxwidgets)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("wxwidgets" ,wxwidgets)
        ("maxima" ,maxima)
        ;; Runtime support.
        ("adwaita-icon-theme" ,adwaita-icon-theme)
-- 
2.32.0