~ruther/guix-local

453b802d1d7c1a665ea7c14d16ca2d107135d8c9 — Ludovic Courtès 2 years ago 42aad10
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
1 files changed, 2 insertions(+), 2 deletions(-)

M guix/search-paths.scm
M guix/search-paths.scm => guix/search-paths.scm +2 -2
@@ 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"))))