gnu: json-modern-cxx: Fix cross-compilation.

* gnu/packages/cpp.scm (json-modern-cxx)[native-inputs]: Move DOCTEST ...
[inputs]: ... here.
This commit is contained in:
Marius Bakke 2022-01-30 17:43:15 +01:00
parent 7ad2cfcc72
commit c065fca7f5
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -542,7 +542,7 @@ (define-public json-modern-cxx
"1"))
(format #t "test suite not run~%")))))))
(native-inputs
(list amalgamate doctest
(list amalgamate
(let ((version "3.0.0"))
(origin
(method git-fetch)
@ -554,7 +554,7 @@ (define-public json-modern-cxx
(base32
"0nzsjzlvk14dazwh7k2jb1dinb0pv9jbx5jsyn264wvva0y7daiv"))))))
(inputs
(list fifo-map))
(list doctest fifo-map))
(synopsis "JSON parser and printer library for C++")
(description "JSON for Modern C++ is a C++ JSON library that provides
intuitive syntax and trivial integration.")