guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 05/12: gnu: python-dbusmock: Use ‘search-input-file’.
Date: Mon, 23 Oct 2023 05:58:50 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 4eda89248dfab7e7708bc76860e6616ba7a9b081
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]