From fda3c01430877ffb84e05d8feee7c75647b9e63e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 9 Feb 2024 23:17:00 +0000 Subject: [PATCH] libsForQt5.mapbox-gl-native: mark broken (`gcc-13` build failure) The build fails against `gcc-13` on `master` as https://hydra.nixos.org/build/247923347: /build/source/include/mbgl/util/geometry.hpp:9:6: error: elaborated-type-specifier for a scoped enum must not use the 'class' keyword [-Werror] 9 | enum class FeatureType : uint8_t { | ~~~~ ^~~~~ Following suggestion of package removal by marking it broken first: https://github.com/NixOS/nixpkgs/pull/284574#issuecomment-1913688797 --- pkgs/development/libraries/mapbox-gl-native/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/mapbox-gl-native/default.nix b/pkgs/development/libraries/mapbox-gl-native/default.nix index f9212ea7cba9..01d51bdf7461 100644 --- a/pkgs/development/libraries/mapbox-gl-native/default.nix +++ b/pkgs/development/libraries/mapbox-gl-native/default.nix @@ -58,6 +58,8 @@ mkDerivation rec { env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations -Wno-error=type-limits"; meta = with lib; { + # Does not build against gcc-13, the repository is archived upstream. + broken = true; description = "Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL"; homepage = "https://mapbox.com/mobile"; license = licenses.bsd2;