~ruther/guix-local

7d9e8c08572f02e3742b759027e2943499ad25de — Ludovic Courtès 11 years ago 1d167b6
gnu: guile-reader: Build with the C locale.

* gnu/packages/guile.scm (guile-reader)[arguments]: Add #:locale.
1 files changed, 7 insertions(+), 1 deletions(-)

M gnu/packages/guile.scm
M gnu/packages/guile.scm => gnu/packages/guile.scm +7 -1
@@ 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")))))