gnu: guile-reader: Build with the C locale.

* gnu/packages/guile.scm (guile-reader)[arguments]: Add #:locale.
This commit is contained in:
Ludovic Courtès 2015-03-12 22:46:28 +01:00
parent 1d167b6e37
commit 7d9e8c0857
1 changed files with 7 additions and 1 deletions

View File

@ -198,7 +198,13 @@ without requiring the source code to be rewritten.")
(native-inputs `(("pkgconfig" ,pkg-config)
("gperf" ,gperf)))
(inputs `(("guile" ,guile-2.0)))
(arguments `(#:configure-flags
(arguments `(;; The extract-*.sh scripts really expect to run in the C
;; locale. Failing to do that, we end up with a build
;; failure while extracting doc. (Fixed in Guile-Reader's
;; repo.)
#:locale "C"
#:configure-flags
(let ((out (assoc-ref %outputs "out")))
(list (string-append "--with-guilemoduledir="
out "/share/guile/site/2.0")))))