summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosselin Poiret <dev@jpoiret.xyz>2024-01-12 11:12:52 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:26 +0200
commitef3bac711b9c7abd77b8d5bbcb1afa9db46589ce (patch)
treeb48cf79812bad62b9e25c1faa9689307c4740e39
parentc71cd18ea260c4e18cb9dc8c964c2f8245df5a40 (diff)
downloadguix-ef3bac711b9c7abd77b8d5bbcb1afa9db46589ce.tar.gz
gnu: liboauth: Use C unicode locale in tests.
* gnu/packages/web.scm (liboauth): Use C unicode locale in tests.

Change-Id: I1ff7da64912fbba5ae427f77b912dd9dff4e239a
-rw-r--r--gnu/packages/web.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 0564b2d2b2..5e786863ed 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2168,7 +2168,16 @@ changes, and much more.")
                (base32
                 "07w1aq8y8wld43wmbk2q8134p3bfkp2vma78mmsfgw2jn1bh3xhd"))))
     (build-system gnu-build-system)
-    (arguments '(#:configure-flags '("--enable-nss")))
+    (arguments
+     (list
+      #:configure-flags ''("--enable-nss")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'use-C-unicode-locale
+            (lambda _
+              (substitute* "tests/commontest.c"
+                (("en_US\\.UTF-8")
+                 "C.UTF-8")))))))
     (native-inputs (list pkg-config))
     (propagated-inputs
      (list curl nss))