Skip to content

Commit

Permalink
python312Packages.pygame: unbreak
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds committed Apr 18, 2024
1 parent 44f5a5f commit 4613e20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/python-modules/pygame/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ buildPythonPackage rec {
];

postPatch = ''
substituteInPlace buildconfig/config_{unix,darwin}.py \
--replace-fail 'from distutils' 'from setuptools._distutils'
substituteInPlace src_py/sysfont.py \
--replace-fail 'path="fc-list"' 'path="${fontconfig}/bin/fc-list"' \
--replace-fail /usr/X11/bin/fc-list ${fontconfig}/bin/fc-list
Expand Down

0 comments on commit 4613e20

Please sign in to comment.