aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-10-13 16:34:07 +0200
committerLudovic Courtès <ludo@gnu.org>2023-10-23 11:56:53 +0200
commit4eda89248dfab7e7708bc76860e6616ba7a9b081 (patch)
tree7de5d2d23b6493876947cb80ce835c2283c5ba56 /gnu/packages
parent4ac6999be70948d188314d0f89806be7f936cfa1 (diff)
downloadguix-4eda89248dfab7e7708bc76860e6616ba7a9b081.tar.gz
guix-4eda89248dfab7e7708bc76860e6616ba7a9b081.zip
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’.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm4
1 files 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?