From 453b802d1d7c1a665ea7c14d16ca2d107135d8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 18 Dec 2023 22:05:50 +0100 Subject: [PATCH] search-paths: Swap $C_INCLUDE_PATH and $CPLUS_INCLUDE_PATH. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The variable name didn’t match the ‘variable’ value. * guix/search-paths.scm ($CPLUS_INCLUDE_PATH, $C_INCLUDE_PATH): Swap. Change-Id: I181cd259dc8778ed51ea891bf7a345df89e5b6d8 --- guix/search-paths.scm | 4 ++-- 1 file 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 @@ (define-record-type* (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 's "#include_next ;; " finds GCC's , not libc's. (files '("include/c++" "include")))) -(define $CPLUS_INCLUDE_PATH +(define $C_INCLUDE_PATH (search-path-specification (variable "C_INCLUDE_PATH") (files '("include"))))