gnu: glibc-locales: Install to lib/locales.

Suggested by Andreas Schwab <schwab@linux-m68k.org>
at <http://lists.gnu.org/archive/html/guix-devel/2015-02/msg00652.html>.

* gnu/packages/base.scm (glibc-locales) <#:configure-flags>: Change
  "/share/locale" to "/lib/locale".
This commit is contained in:
Ludovic Courtès 2015-02-25 00:11:18 +01:00
parent 61452a5ab1
commit b9e02a71a9

View file

@ -551,9 +551,10 @@ (define-public glibc-locales
(alist-delete 'install ,phases))) (alist-delete 'install ,phases)))
((#:configure-flags flags) ((#:configure-flags flags)
`(append ,flags `(append ,flags
;; Use $(libdir)/locale as is the case by default.
(list (string-append "libc_cv_localedir=" (list (string-append "libc_cv_localedir="
(assoc-ref %outputs "out") (assoc-ref %outputs "out")
"/share/locale"))))))))) "/lib/locale")))))))))
(define-public tzdata (define-public tzdata
(package (package