gnu: glibc: Look for locale data in versioned sub-directories.
authorLudovic Courtès <ludo@gnu.org>
Thu, 1 Oct 2015 19:32:50 +0000 (21:32 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 5 Oct 2015 20:34:50 +0000 (22:34 +0200)
commit85e5721421b7e8ee1cf6b76d34e892034e3c4f51
treeb09628a5a5c3c7fedd84b4a0b7562d8f29e76dce
parentf211b2af676751b66d1443e5371b92c9a98c8a0c
gnu: glibc: Look for locale data in versioned sub-directories.

Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/packages/patches/glibc-versioned-locpath.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/base.scm (glibc)[source]: Use it.
  [arguments]: Add explicit version sub-directory to
  libc_cv_localedir.
  [native-search-paths]: Use 'GUIX_LOCPATH' instead of 'LOCPATH'.
  (glibc-locales, glibc-utf8-locales): Write to a VERSION
  sub-directory.
doc/guix.texi
gnu-system.am
gnu/packages/base.scm
gnu/packages/patches/glibc-versioned-locpath.patch [new file with mode: 0644]