summary refs log tree commit diff
path: root/gnu/packages/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-02-11 14:16:29 +0100
committerLudovic Courtès <ludo@gnu.org>2015-02-11 14:16:29 +0100
commitd6718df416c93bad365b736cc466739e6c2b11df (patch)
treee295025b54de8f68a39f2aeb1fe37a5c3bfdf53b /gnu/packages/base.scm
parentfdaae613712077f9325141024da395ef315db130 (diff)
downloadguix-d6718df416c93bad365b736cc466739e6c2b11df.tar.gz
gnu: glibc: Add search path specification for 'LOCPATH'.
* gnu/packages/base.scm (glibc)[native-search-paths]: New field.
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r--gnu/packages/base.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index cb6269a11e..2de9bc2d81 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -485,6 +485,13 @@ included.")
    (native-inputs `(("texinfo" ,texinfo)
                     ("perl" ,perl)))
 
+   (native-search-paths
+    ;; Search path for packages that provide locale data.  This is useful
+    ;; primarily in build environments.
+    (list (search-path-specification
+           (variable "LOCPATH")
+           (files '("share/locale")))))
+
    (synopsis "The GNU C Library")
    (description
     "Any Unix-like operating system needs a C library: the library which