diff options
author | Marius Bakke <marius@gnu.org> | 2022-01-08 11:29:37 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-01-08 11:38:47 +0100 |
commit | e424264394cbf8cb125edfff3d7ae68487df5839 (patch) | |
tree | c6512336bbe64174fa4b2b1743d0a5952de02392 /gnu/packages/llvm.scm | |
parent | c94202ac3867248427872b46d66510eec7745023 (diff) | |
download | guix-e424264394cbf8cb125edfff3d7ae68487df5839.tar.gz |
gnu: python-clang: Remove input labels.
* gnu/packages/llvm.scm (clang-python-bindings)[arguments]: Use SEARCH-INPUT-FILE instead of label.
Diffstat (limited to 'gnu/packages/llvm.scm')
-rw-r--r-- | gnu/packages/llvm.scm | 6 |
1 files changed, 3 insertions, 3 deletions
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"))) |