diff options
author | Mark H Weaver <mhw@netris.org> | 2015-01-13 20:37:57 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-01-13 20:37:57 -0500 |
commit | a0ba3fc52028d84d18bfb0af3cd4f5c7e1fe9d8c (patch) | |
tree | b94907831aa3400337c18aa9e610dfd67ba59230 /gnu/packages/guile.scm | |
parent | d585f244cea92d6a9ab6644159bc6b4f487b5283 (diff) | |
download | gnu-guix-a0ba3fc52028d84d18bfb0af3cd4f5c7e1fe9d8c.tar gnu-guix-a0ba3fc52028d84d18bfb0af3cd4f5c7e1fe9d8c.tar.gz |
gnu: guile-ncurses: Build a UTF-8 locale for the tests.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Add 'install-locales'
phase.
Diffstat (limited to 'gnu/packages/guile.scm')
-rw-r--r-- | gnu/packages/guile.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 0900768832..c0c5ced0f3 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -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 |