mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
packages: Use locales from the /X.Y sub-directory of the locale package.
This is a followup to commit f2d7bbb
.
* guix/packages.scm (patch-and-repack)[build]: Append "/X.Y" to
LOCPATH.
This commit is contained in:
parent
afd3d9316c
commit
85b81cf8c1
1 changed files with 4 additions and 1 deletions
|
@ -477,7 +477,10 @@ (define (first-file directory)
|
|||
(when #+locales
|
||||
;; First of all, install a UTF-8 locale so that UTF-8 file names
|
||||
;; are correctly interpreted. During bootstrap, LOCALES is #f.
|
||||
(setenv "LOCPATH" (string-append #+locales "/lib/locale"))
|
||||
(setenv "LOCPATH"
|
||||
(string-append #+locales "/lib/locale/"
|
||||
#+(and locales
|
||||
(package-version locales))))
|
||||
(setlocale LC_ALL "en_US.utf8"))
|
||||
|
||||
(setenv "PATH" (string-append #+xz "/bin" ":"
|
||||
|
|
Loading…
Reference in a new issue