gnu: guile-reader: Build with the C locale.
authorLudovic Courtès <ludo@gnu.org>
Thu, 12 Mar 2015 21:46:28 +0000 (22:46 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 12 Mar 2015 21:52:18 +0000 (22:52 +0100)
* gnu/packages/guile.scm (guile-reader)[arguments]: Add #:locale.

gnu/packages/guile.scm

index 9fde949..c605533 100644 (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")))))