gnu: liboauth: Use C unicode locale in tests.

* gnu/packages/web.scm (liboauth): Use C unicode locale in tests.

Change-Id: I1ff7da64912fbba5ae427f77b912dd9dff4e239a
This commit is contained in:
Josselin Poiret 2024-01-12 11:12:52 +01:00 committed by Ludovic Courtès
parent c71cd18ea2
commit ef3bac711b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2168,7 +2168,16 @@ (define-public liboauth
(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))