From 295c2bd76256e88731c06f5e9a5ae38b5c27d442 Mon Sep 17 00:00:00 2001 From: Leona Maroni Date: Sat, 17 May 2025 11:48:08 +0200 Subject: [PATCH] python3Packages.pybullet: fix build with GCC 14 --- pkgs/development/python-modules/pybullet/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pybullet/default.nix b/pkgs/development/python-modules/pybullet/default.nix index 48922b7990a2..63b8ac132026 100644 --- a/pkgs/development/python-modules/pybullet/default.nix +++ b/pkgs/development/python-modules/pybullet/default.nix @@ -29,6 +29,10 @@ buildPythonPackage rec { propagatedBuildInputs = [ numpy ]; + # Fix GCC 14 build. + # from incompatible pointer type [-Wincompatible-pointer-types + env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types"; + patches = [ # make sure X11 and OpenGL can be found at runtime ./static-libs.patch