3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: python-clang: Remove input labels.

* gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Use
SEARCH-INPUT-FILE instead of label.
This commit is contained in:
Marius Bakke 2022-01-08 11:29:37 +01:00
parent c94202ac38
commit e424264394
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -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")))