nlohmann_json: add char8_t patch

This commit is contained in:
Keenan Weaver
2025-10-10 19:40:28 -05:00
parent ec3cafaa31
commit 10ab50d9d0

View File

@@ -25,6 +25,13 @@ stdenv.mkDerivation (finalAttrs: {
};
patches = [
# Fix missing char8_t support
# https://github.com/nlohmann/json/pull/4736
(fetchpatch {
name = "fix-char8_t.patch";
url = "https://github.com/nlohmann/json/commit/756ca22ec5b0d89b5d107b4c30891d1293650c87.patch?full_index=1";
hash = "sha256-OK8FIXClj5paZNiEvPwJWr5PxyVYtJ3zkRlcZoe8d20=";
})
# Musl does not support LC_NUMERIC, causing a test failure.
# Turn the error into a warning to make the test succeed.
# https://github.com/nlohmann/json/pull/4770