me
/
guix
Archived
1
0
Fork 0

gnu: gnome-boxes: Patch 'qemu-img' file name.

* gnu/packages/gnome.scm (gnome-boxes)[arguments]: Add
'set-qemu-file-name' phase.
[inputs]: Add QEMU-MINIMAL.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Jacob Hrbek 2022-09-19 04:09:40 +00:00 committed by Ludovic Courtès
parent 4d9c9b4981
commit ddb2b632fa
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 8 additions and 1 deletions

View File

@ -12224,7 +12224,13 @@ integrate seamlessly with the GNOME desktop.")
#:phases #~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(add-after 'unpack 'disable-gtk-update-icon-cache (add-after 'unpack 'disable-gtk-update-icon-cache
(lambda _ (lambda _
(setenv "DESTDIR" "/")))))) (setenv "DESTDIR" "/")))
(add-before 'configure 'set-qemu-file-name
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "src/installed-media.vala"
(("qemu-img")
(search-input-file inputs
"/bin/qemu-img"))))))))
(native-inputs (native-inputs
(list desktop-file-utils ;for update-desktop-database (list desktop-file-utils ;for update-desktop-database
gettext-minimal gettext-minimal
@ -12250,6 +12256,7 @@ integrate seamlessly with the GNOME desktop.")
libvirt libvirt
libvirt-glib libvirt-glib
libxml2 libxml2
qemu-minimal ;for qemu-img
sparql-query sparql-query
spice-gtk spice-gtk
tracker tracker