civodul pushed a commit to branch core-updates
in repository guix.

commit fd1fde6041b7f221bed114593944365d21cb925c
Author: Ludovic Court├Ęs <l...@gnu.org>
AuthorDate: Fri Feb 7 23:26:38 2020 +0100

    gnu: rust: Switch to 'C_INCLUDE_PATH'.
    
    * gnu/packages/rust.scm (rust-1.19)[native-search-paths]: Remove "CPATH"
    and add "C_INCLUDE_PATH" and "CPLUS_INCLUDE_PATH" instead.
---
 gnu/packages/rust.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 8bed56f..97ba882 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -413,9 +413,12 @@ test = { path = \"../libtest\" }
     ;; modules (see <https://bugs.gnu.org/31392>).
     (native-search-paths
      (list (search-path-specification
-            (variable "CPATH")
+            (variable "C_INCLUDE_PATH")
             (files '("include")))
            (search-path-specification
+            (variable "CPLUS_INCLUDE_PATH")
+            (files '("include/c++" "include")))
+           (search-path-specification
             (variable "LIBRARY_PATH")
             (files '("lib" "lib64")))))
 

Reply via email to