diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-10-12 13:22:04 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-10-12 13:25:39 +0300 |
commit | 51d36964800013b679a499927208444cf1374ba1 (patch) | |
tree | dd174858bd8861a712c2defccfa0b5e51deeb04f | |
parent | 8bcfd15c2abd6b7d7d82ab3260df06379febff1f (diff) | |
download | guix-51d36964800013b679a499927208444cf1374ba1.tar guix-51d36964800013b679a499927208444cf1374ba1.tar.gz |
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.
-rw-r--r-- | gnu/packages/crates-io.scm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e2b3b5be59..94284bde68 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3599,7 +3599,7 @@ depending on a large number of #[cfg] parameters. Structured like an "0695kfrqx7n091fzm6msbqg2q2kyhka64q08lm63f3l9d964i8cx")))) (build-system cargo-build-system) (inputs - `(("clang" ,clang))) + `(("libclang" ,clang))) (arguments `(#:cargo-inputs (("rust-glob" ,rust-glob-0.3) @@ -3609,8 +3609,9 @@ depending on a large number of #[cfg] parameters. Structured like an (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 @@ depending on a large number of #[cfg] parameters. Structured like an (let ((clang (assoc-ref inputs "libclang"))) (setenv "LIBCLANG_PATH" (string-append clang "/lib"))) - (inputs - `(("libclang" ,clang))) #t))))))) (define-public rust-clang-sys-0.28 |