guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 05/09: gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths.
Date: Mon, 12 Oct 2020 12:25:01 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 61a5380bfd89c77bb45c9b77203ddfbe27eb0865
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Mon Sep 28 21:19:32 2020 +0200

    gnu: clang-toolchain: Add 'GUIX_LOCPATH' to the search paths.
    
    * gnu/packages/llvm.scm (make-clang-toolchain)[native-search-paths]: Add
    'GUIX_LOCPATH'.
---
 gnu/packages/llvm.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 5f42a0a..7efabd6 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]