guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/10: gnu: python-dbusmock: Use ‘search-input-file’.


From: guix-commits
Subject: 05/10: gnu: python-dbusmock: Use ‘search-input-file’.
Date: Sun, 22 Oct 2023 09:38:20 -0400 (EDT)

civodul pushed a commit to branch wip-syscall-update
in repository guix.

commit 1ad6565e4a0516ee89d1d14b84ac062f670c347d
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Oct 13 16:34:07 2023 +0200

    gnu: python-dbusmock: Use ‘search-input-file’.
    
    * gnu/packages/python-xyz.scm (python-dbusmock)[arguments]: In
    ‘patch-paths’ phase, use ‘search-input-file’ instead of ‘assoc-ref’.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4929c6dcc7..65c23cb318 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27178,8 +27178,8 @@ for YAML and JSON.")
                       (which "bash")))
                    (substitute* "dbusmock/testcase.py"
                      (("'dbus-daemon'")
-                      (string-append "'" (assoc-ref inputs "dbus")
-                                     "/bin/dbus-daemon'")))))
+                      (object->string
+                       (search-input-file inputs "/bin/dbus-daemon"))))))
                (replace 'check
                  (lambda* (#:key tests? #:allow-other-keys)
                    (when tests?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]