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.
This commit is contained in:
Ludovic Courtès 2020-02-07 23:26:38 +01:00
parent f30d84d32d
commit fd1fde6041
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -413,8 +413,11 @@ (define rust-1.19
;; 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")))))