Subject: Re: bug#57809: [PATCH] gnome-boxes: Add 'qemu' as propagated-input

From: Ludovic Courtès <[email-masked]>
Date: Mon, 26 Sep 2022 23:03:21 +0200

Hi,

Jacob Hrbek <[email-masked]> skribis:

> ---
>  gnu/packages/gnome.scm | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
> index d6d22f8eb1..ff5cb92907 100644
> --- a/gnu/packages/gnome.scm
> +++ b/gnu/packages/gnome.scm
> @@ -12131,9 +12131,14 @@ (define-public gnome-boxes
>                                                      #$output
>                                                      "/lib/gnome-boxes"))
>             #:phases #~(modify-phases %standard-phases
> -                        (add-after 'unpack 'disable-gtk-update-icon-cache
> -                          (lambda _
> -                            (setenv "DESTDIR" "/"))))))
> +                      (add-after 'unpack 'disable-gtk-update-icon-cache
> +                        (lambda _
> +                          (setenv "DESTDIR" "/")))
> +                      (add-before 'configure 'substitute-qemu-dependencies
> +                        (lambda* (#:key inputs #:allow-other-keys)
> +
>                 (substitute* "src/installed-media.vala"
> +                              (("qemu-img")
> +                               (search-input-file inputs "/bin/qemu-img"))))))))

Applied with minor tweaks and a commit log, thanks!|

Ludo’.