From 390cc23f560dc5e551fdf23e8967f8c1295d0519 Mon Sep 17 00:00:00 2001 From: Benjamin Sparks Date: Sat, 22 Mar 2025 23:25:52 +0100 Subject: [PATCH] mapnik: mark darwin platforms as badPlatforms --- pkgs/development/libraries/mapnik/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/libraries/mapnik/default.nix b/pkgs/development/libraries/mapnik/default.nix index 9a4bb7465219..5ac9522155f1 100644 --- a/pkgs/development/libraries/mapnik/default.nix +++ b/pkgs/development/libraries/mapnik/default.nix @@ -134,5 +134,15 @@ stdenv.mkDerivation rec { ]; license = licenses.lgpl21Plus; platforms = platforms.all; + + # 29-03-2025: On darwin, the libc++ standard library is used to compile C++ programs. + # 29-03-2025: Since the base template for `std::char_traits` was removed in LLVM 19, + # 29-03-2025: usages of `boost::u32regex` will no longer compile. + # 29-03-2025: Linux builds do not fail as they use libstdc++, which has not removed + # 29-03-2025: such `std::char_trait` declarations. + # + # 29-03-2025: See https://github.com/mapnik/mapnik/issues/4499 for more information + # 29-03-2025: and a Minimal Reproducible Example. + badPlatforms = platforms.darwin; }; }