guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: rust: Switch to 'C_INCLUDE_PATH'.


From: guix-commits
Subject: 01/02: gnu: rust: Switch to 'C_INCLUDE_PATH'.
Date: Wed, 12 Feb 2020 14:40:38 -0500 (EST)

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

commit fd1fde6041b7f221bed114593944365d21cb925c
Author: Ludovic Court├Ęs <address@hidden>
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

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