search-paths: Swap $C_INCLUDE_PATH and $CPLUS_INCLUDE_PATH.

The variable name didn’t match the ‘variable’ value.

* guix/search-paths.scm ($CPLUS_INCLUDE_PATH, $C_INCLUDE_PATH): Swap.

Change-Id: I181cd259dc8778ed51ea891bf7a345df89e5b6d8
This commit is contained in:
Ludovic Courtès 2023-12-18 22:05:50 +01:00
parent 42aad100af
commit 453b802d1d
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -80,14 +80,14 @@
(file-pattern search-path-specification-file-pattern ;#f | string
(default #f)))
(define $C_INCLUDE_PATH
(define $CPLUS_INCLUDE_PATH
(search-path-specification
(variable "CPLUS_INCLUDE_PATH")
;; Add 'include/c++' here so that <cstdlib>'s "#include_next
;; <stdlib.h>" finds GCC's <stdlib.h>, not libc's.
(files '("include/c++" "include"))))
(define $CPLUS_INCLUDE_PATH
(define $C_INCLUDE_PATH
(search-path-specification
(variable "C_INCLUDE_PATH")
(files '("include"))))