From 4eda89248dfab7e7708bc76860e6616ba7a9b081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 13 Oct 2023 16:34:07 +0200 Subject: [PATCH] =?UTF-8?q?gnu:=20python-dbusmock:=20Use=20=E2=80=98search?= =?UTF-8?q?-input-file=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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?