guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: gnu: rust-clang-sys: Fix package references.


From: guix-commits
Subject: 06/06: gnu: rust-clang-sys: Fix package references.
Date: Mon, 12 Oct 2020 06:27:07 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 51d36964800013b679a499927208444cf1374ba1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 12 13:22:04 2020 +0300

    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.
---
 gnu/packages/crates-io.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e2b3b5b..94284bd 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]