mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: rust-clang-sys: Fix package references.
* gnu/packages/crates-io.scm (rust-clang-sys-1)[inputs]: Rename clang to libclang. [arguments]: Adjust package reference accordingly.
This commit is contained in:
parent
8bcfd15c2a
commit
51d3696480
1 changed files with 4 additions and 5 deletions
|
@ -3599,7 +3599,7 @@ (define-public rust-clang-sys-1
|
|||
"0695kfrqx7n091fzm6msbqg2q2kyhka64q08lm63f3l9d964i8cx"))))
|
||||
(build-system cargo-build-system)
|
||||
(inputs
|
||||
`(("clang" ,clang)))
|
||||
`(("libclang" ,clang)))
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-glob" ,rust-glob-0.3)
|
||||
|
@ -3609,8 +3609,9 @@ (define-public rust-clang-sys-1
|
|||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'configure-clang
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(setenv "LIBCLANG_PATH" (string-append (assoc-ref inputs "clang")
|
||||
"/lib"))
|
||||
(setenv "LIBCLANG_PATH"
|
||||
(string-append (assoc-ref inputs "libclang")
|
||||
"/lib"))
|
||||
#t)))))
|
||||
(home-page "https://github.com/KyleMayes/clang-sys")
|
||||
(synopsis "Rust bindings for libclang")
|
||||
|
@ -3643,8 +3644,6 @@ (define-public rust-clang-sys-0.29
|
|||
(let ((clang (assoc-ref inputs "libclang")))
|
||||
(setenv "LIBCLANG_PATH"
|
||||
(string-append clang "/lib")))
|
||||
(inputs
|
||||
`(("libclang" ,clang)))
|
||||
#t)))))))
|
||||
|
||||
(define-public rust-clang-sys-0.28
|
||||
|
|
Loading…
Reference in a new issue