guix: search-paths: Fix obj-c++ search paths.

* guix/search-paths.scm ($OBJCPLUS_INCLUDE_PATH): Also search
'include/c++'.

Change-Id: I403674038c1c3bf1251c710031496363c924f19a
This commit is contained in:
Efraim Flashner 2023-12-11 10:58:52 +02:00 committed by Ludovic Courtès
parent a9136076eb
commit 09d62629a9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -100,7 +100,9 @@ (define $OBJC_INCLUDE_PATH
(define $OBJCPLUS_INCLUDE_PATH
(search-path-specification
(variable "OBJCPLUS_INCLUDE_PATH")
(files '("include"))))
;; 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 $LIBRARY_PATH
(search-path-specification