0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python3Packages.pybullet: fix build with GCC 14 (#407872)

This commit is contained in:
Atemu 2025-05-17 13:09:39 +02:00 committed by GitHub
commit d1a10e9182
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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