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

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

It is required for cross-compilation.

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

diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 0b2c24c743..cc2973838f 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -28,6 +28,7 @@
   #:use-module (guix build-system gnu)
   #:use-module (gnu packages algebra)
   #:use-module (gnu packages autotools)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages bdw-gc)
   #:use-module (gnu packages emacs)
   #:use-module (gnu packages xorg)
@@ -190,7 +191,8 @@ using the Cairo drawing library.")
                         (wrap-program (string-append bin "/pl")
                           `("PLOTICUS_PREFABS" ":" = (,dir)))))))))
     (inputs
-     `(("libpng" ,libpng)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("libpng" ,libpng)
        ("libx11" ,libx11)
        ("zlib" ,zlib)))
     (home-page "http://ploticus.sourceforge.net/")
@@ -234,7 +236,8 @@ colors, styles, options and details.")
                                         texlive-latex-parskip
                                         texlive-tex-texinfo)))))
     (inputs
-     `(("fftw" ,fftw)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("fftw" ,fftw)
        ("freeglut" ,freeglut)
        ("glew" ,glew)
        ("glm" ,glm)
-- 
2.32.0