gnu: guile-ncurses: Build a UTF-8 locale for the tests.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add 'install-locales' phase.
This commit is contained in:
parent
d585f244ce
commit
a0ba3fc520
|
@ -262,7 +262,16 @@ many readers as needed).")
|
|||
(("\"libguile-ncurses\"")
|
||||
(format #f "\"~a/lib/libguile-ncurses\""
|
||||
out)))))
|
||||
%standard-phases)))
|
||||
(alist-cons-before
|
||||
'check 'install-locales
|
||||
(lambda _
|
||||
;; One of the tests requires the availability of a UTF-8
|
||||
;; locale and otherwise fails.
|
||||
(setenv "LOCPATH" (getcwd))
|
||||
(zero? (system* "localedef" "--no-archive"
|
||||
"--prefix" (getcwd) "-i" "en_US"
|
||||
"-f" "UTF-8" "./en_US.utf8")))
|
||||
%standard-phases))))
|
||||
(home-page "http://www.gnu.org/software/guile-ncurses/")
|
||||
(synopsis "Guile bindings to ncurses")
|
||||
(description
|
||||
|
|
Loading…
Reference in New Issue