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

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

It is required for cross-compilation.

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

diff --git a/gnu/packages/piet.scm b/gnu/packages/piet.scm
index a09c05d990..1f2bc76192 100644
--- a/gnu/packages/piet.scm
+++ b/gnu/packages/piet.scm
@@ -23,6 +23,7 @@
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build-system gnu)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages gd)
   #:use-module (gnu packages groff)
   #:use-module (gnu packages image)
@@ -52,7 +53,8 @@
                  `("PATH" ":" prefix (,(dirname (which "wish")))))
                #t))))))
     (inputs
-     `(("gd" ,gd)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("gd" ,gd)
        ("giflib" ,giflib)
        ("libpng" ,libpng)
        ("tk" ,tk)))
@@ -154,7 +156,8 @@ an Algol-like language
        `(("netpbm" ,netpbm)
          ("npiet" ,npiet)))
       (inputs
-       `(("perl" ,perl)
+       `(("bash" ,bash-minimal) ; for wrap-program
+         ("perl" ,perl)
          ("perl-parse-recdescent" ,perl-parse-recdescent)))
       (home-page "https://www.toothycat.net/wiki/wiki.pl?MoonShadow/Piet")
       (synopsis "Piet compiler and assembler")
-- 
2.32.0