Skip to content
Snippets Groups Projects
Commit a0ba3fc5 authored by Mark H Weaver's avatar Mark H Weaver
Browse files

gnu: guile-ncurses: Build a UTF-8 locale for the tests.

* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add 'install-locales'
  phase.
parent d585f244
No related branches found
No related tags found
No related merge requests found
......@@ -262,7 +262,16 @@ (define-public guile-ncurses
(("\"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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment