From e424264394cbf8cb125edfff3d7ae68487df5839 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 8 Jan 2022 11:29:37 +0100 Subject: gnu: python-clang: Remove input labels. * gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Use SEARCH-INPUT-FILE instead of label. --- gnu/packages/llvm.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 9702aca896..4cd3bca75e 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -1532,10 +1532,10 @@ setup(name=\"clang\", packages=[\"clang\"])\n"))))) (add-before 'build 'set-libclang-file-name (lambda* (#:key inputs #:allow-other-keys) ;; Record the absolute file name of libclang.so. - (let ((clang (assoc-ref inputs "clang"))) + (let ((libclang (search-input-file inputs + "/lib/libclang.so"))) (substitute* "clang/cindex.py" - (("libclang\\.so") - (string-append clang "/lib/libclang.so"))))))))) + (("libclang\\.so") libclang)))))))) (inputs (list clang)) (synopsis "Python bindings to libclang"))) -- cgit v1.2.3