all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 68728@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>, Hilton Chain <hako@ultrarare.space>
Subject: [bug#68728] [PATCH 2/2] gnu: virt-manager: Fix qemu path substitution.
Date: Fri, 26 Jan 2024 12:58:20 +0800	[thread overview]
Message-ID: <ef3a301becc7d79adb511d257ee6920695e7d1c8.1706244055.git.hako@ultrarare.space> (raw)
In-Reply-To: <cover.1706244055.git.hako@ultrarare.space>

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

Change-Id: Ic5085841db4759096b844d6f92f81d90554709d1
---
 gnu/packages/virtualization.scm | 4 ++--
 1 file 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 @@ (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"))
-- 
2.41.0





  parent reply	other threads:[~2024-01-26  4:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-26  4:50 [bug#68728] [PATCH 0/2] gnu: virt-manager: Fix qemu path substitution Hilton Chain via Guix-patches via
2024-01-26  4:58 ` [bug#68728] [PATCH 1/2] gnu: virt-manager: Update package style Hilton Chain via Guix-patches via
2024-01-26  4:58 ` Hilton Chain via Guix-patches via [this message]
     [not found] ` <handler.68728.B.1706244739921.ack@debbugs.gnu.org>
2024-02-01  6:33   ` bug#68728: Acknowledgement ([PATCH 0/2] gnu: virt-manager: Fix qemu path substitution.) Hilton Chain via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ef3a301becc7d79adb511d257ee6920695e7d1c8.1706244055.git.hako@ultrarare.space \
    --to=guix-patches@gnu.org \
    --cc=68728@debbugs.gnu.org \
    --cc=hako@ultrarare.space \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.