diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-12-18 22:05:50 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-01-06 16:34:12 +0100 |
commit | 32b31f48b6a9875f538cc3445baab98b3aa06fc7 (patch) | |
tree | 94f0b8ea5ebbe0557d85038de47f0fb185b8d1db | |
parent | b2539ac0c01787adf9c1057a6c602f7de25a8974 (diff) |
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
-rw-r--r-- | guix/search-paths.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix/search-paths.scm b/guix/search-paths.scm index b2a0b838c0..27fcb78054 100644 --- a/guix/search-paths.scm +++ b/guix/search-paths.scm @@ -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")))) |