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