aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2020-09-28 21:19:32 +0200
committerLudovic Courtès <ludo@gnu.org>2020-10-12 18:23:47 +0200
commit61a5380bfd89c77bb45c9b77203ddfbe27eb0865 (patch)
treec20742810e8ede09a6d72ab28f642444f58426b7
parentf848c276f0be22e66b661fe45d60d53fc0013172 (diff)
downloadguix-61a5380bfd89c77bb45c9b77203ddfbe27eb0865.tar
guix-61a5380bfd89c77bb45c9b77203ddfbe27eb0865.tar.gz
gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths.
* gnu/packages/llvm.scm (make-clang-toolchain)[native-search-paths]: Add 'GUIX_LOCPATH'.
-rw-r--r--gnu/packages/llvm.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 5f42a0a489..7efabd6a2b 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -484,7 +484,11 @@ code analysis tools.")
"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))