guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/17: gnu: liboauth: Use C unicode locale in tests.


From: guix-commits
Subject: 08/17: gnu: liboauth: Use C unicode locale in tests.
Date: Thu, 18 Jan 2024 07:58:11 -0500 (EST)

jpoiret pushed a commit to branch core-updates
in repository guix.

commit 45b8f62e5d35bcb331f33608b6eb120386fbd4ab
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Fri Jan 12 11:12:52 2024 +0100

    gnu: liboauth: Use C unicode locale in tests.
    
    * gnu/packages/web.scm (liboauth): Use C unicode locale in tests.
    
    Change-Id: I1ff7da64912fbba5ae427f77b912dd9dff4e239a
---
 gnu/packages/web.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 081de9fc18..9c9a46d468 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2079,7 +2079,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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]