aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2024-01-24 00:02:16 +0800
committerHilton Chain <hako@ultrarare.space>2024-02-01 14:21:49 +0800
commite1a084f1a820d409ddeead00bf6185f13fee9b17 (patch)
tree92e0d55c4641b8d47ba1cadda10fc4fc89b3f19b
parente6814d6c342ac1095122e2ba17bbd3eba7147d22 (diff)
downloadguix-e1a084f1a820d409ddeead00bf6185f13fee9b17.tar.gz
guix-e1a084f1a820d409ddeead00bf6185f13fee9b17.zip
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
-rw-r--r--gnu/packages/virtualization.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 1c971471c7..5888d777ea 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1645,8 +1645,8 @@ virtualization library.")
(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"))