Files
nixpkgs/pkgs/development/python-modules/mypy/default.nix
Maximilian Bosch 31bb833ca2 python3Packages.mypy: fix build w/ glibc-2.44
Otherwiwse a bunch of tests break with
"warning: ‘_POSIX_C_SOURCE’ redefined".

Apparently this now happens, if software doesn't adhere to the rule of
`Python.h` having to be included first[1]. The applied patch focuses on
Python 3.15 support, but also happens to fix that.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2416110
2026-09-19 16:43:49 +02:00

3.9 KiB