mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: tomlplusplus: Fix build.
* gnu/packages/cpp.scm (tomlplusplus)[arguments]<#:phases>: Move the "C" locale to part of the utf8 locale list. [native-inputs]: Add ‘libc-utf8-locales-for-target’. Change-Id: I1e6362dd27e88d22e1c40aea1ccf1767c93fbeac
This commit is contained in:
parent
9626feb1cb
commit
e05f0e9832
1 changed files with 5 additions and 3 deletions
|
@ -75,6 +75,7 @@ (define-module (gnu packages cpp)
|
|||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages assembly)
|
||||
#:use-module (gnu packages autotools)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages bdw-gc)
|
||||
#:use-module (gnu packages benchmark)
|
||||
#:use-module (gnu packages boost)
|
||||
|
@ -914,11 +915,12 @@ (define-public tomlplusplus
|
|||
(lambda _
|
||||
(substitute* "tests/meson.build"
|
||||
(("foreach locale : test_locales" all)
|
||||
(format #f "test_locales = ['C', ~{'~a.utf8', ~}]~%~a"
|
||||
(format #f "test_locales = [~{'~a.utf8', ~}]~%~a"
|
||||
;; %default-utf8-locales in (gnu packages base).
|
||||
'("de_DE" "el_GR" "en_US" "fr_FR" "tr_TR")
|
||||
'("C" "de_DE" "el_GR" "en_US" "fr_FR" "tr_TR")
|
||||
all))))))))
|
||||
(native-inputs (list cmake-minimal))
|
||||
;; Tests require locales.
|
||||
(native-inputs (list cmake-minimal (libc-utf8-locales-for-target)))
|
||||
(home-page "https://marzer.github.io/tomlplusplus/")
|
||||
(synopsis "Header-only TOML config file parser and serializer for C++17")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue