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

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

It is required for cross-compilation.

* gnu/packages/mpd.scm
  (sonata)[inputs]: Add 'bash-minimal'.
  (mpdris2)[inputs]: Likewise.
  (mcg)[inputs]: Likewise.
---
 gnu/packages/mpd.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index d33bde11ac..522b27a271 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -42,6 +42,7 @@
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages avahi)
   #:use-module (gnu packages base)
+  #:use-module (gnu packages bash)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages cdrom)
   #:use-module (gnu packages gettext)
@@ -343,7 +344,8 @@ interface for the Music Player Daemon.")
     (native-inputs
      `(("gettext" ,gettext-minimal)))
     (inputs
-     `(("python-mpd2" ,python-mpd2)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("python-mpd2" ,python-mpd2)
        ("gtk+" ,gtk+)
        ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
        ("gobject-introspection" ,gobject-introspection)
@@ -406,7 +408,8 @@ other MPD frontends.")
                  `("GUIX_PYTHONPATH" ":" prefix (,python-path)))
                #t))))))
     (inputs
-     `(("python-mpd2" ,python-mpd2)
+     `(("bash" ,bash-minimal) ; for wrap-program
+       ("python-mpd2" ,python-mpd2)
        ("python-dbus" ,python-dbus)
        ("python-pygobject" ,python-pygobject)
        ("python" ,python)))             ; Sets GUIX_PYTHONPATH.
@@ -483,6 +486,7 @@ artists along with albumart.")
        ("pkg-config" ,pkg-config)))
     (inputs
      `(("avahi" ,avahi)
+       ("bash" ,bash-minimal) ; for wrap-program
        ("dconf" ,dconf)
        ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
        ("gtk+" ,gtk+)
-- 
2.32.0