gnu: dbus-cairo: Add missing bash-minimal input.

If absent, this causes the 'glib-or-gtk-wrap' phase to fail.

* gnu/packages/glib.scm
  (cairo)[inputs]: Add "bash-minimal", but only when cross-compiling
  to avoid a world-rebuild.
This commit is contained in:
Maxime Devos 2021-08-24 11:24:57 +02:00 committed by Mathieu Othacehe
parent 881a5d26b2
commit 499dbe0f3c
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -61,6 +61,7 @@ (define-module (gnu packages gtk)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages boost)
#:use-module (gnu packages build-tools)
#:use-module (gnu packages texinfo)
@ -174,7 +175,11 @@ (define-public cairo
("pkg-config" ,pkg-config)
("python" ,python-wrapper)))
(inputs
`(("drm" ,libdrm)
;; TODO(core-updates): make this unconditional
`(,@(if (%current-target-system)
`(("bash-minimal" ,bash-minimal)) ; for glib-or-gtk-wrap
'())
("drm" ,libdrm)
("ghostscript" ,ghostscript)
("libspectre" ,libspectre)
("poppler" ,poppler)))