gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths.

* gnu/packages/llvm.scm (make-clang-toolchain)[native-search-paths]: Add
'GUIX_LOCPATH'.
This commit is contained in:
Ludovic Courtès 2020-09-28 21:19:32 +02:00 committed by Ludovic Courtès
parent f848c276f0
commit 61a5380bfd
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -484,7 +484,11 @@ (define (make-clang-toolchain clang)
"libc-static")))
#t))))
(native-search-paths (package-native-search-paths clang))
(native-search-paths
(append (package-native-search-paths clang)
(list (search-path-specification ;copied from glibc
(variable "GUIX_LOCPATH")
(files '("lib/locale"))))))
(search-paths (package-search-paths clang))
(license (package-license clang))