gnu: virt-manager: Fix qemu path substitution.

* gnu/packages/virtualization.scm (virt-manager)[arguments]<#:phases>: Adjust
‘fix-default-uri’ according to source change.

Change-Id: Ic5085841db4759096b844d6f92f81d90554709d1
This commit is contained in:
Hilton Chain 2024-01-24 00:02:16 +08:00
parent e6814d6c34
commit e1a084f1a8
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1645,8 +1645,8 @@ (define-public virt-manager
(lambda* (#:key inputs #:allow-other-keys)
;; Xen is not available for now - so only patch qemu.
(substitute* "virtManager/createconn.py"
(("/usr(/bin/qemu-system-[a-zA-Z0-9_-]+)" _ suffix)
(search-input-file inputs suffix)))))
(("/usr(/bin/qemu-system-\\*)" _ suffix)
(string-append #$(this-package-input "qemu") suffix)))))
(add-before 'wrap 'wrap-with-GI_TYPELIB_PATH
(lambda* (#:key inputs #:allow-other-keys)
(let* ((bin (string-append #$output "/bin"))