From 522aeab27c3c52267bfa7b86be52af6e5aa0cf52 Mon Sep 17 00:00:00 2001 From: Grimmauld Date: Sun, 6 Apr 2025 16:10:12 +0200 Subject: [PATCH] python312Packages.pygame: pin to SDL2_classic Some niche regressions in sdl2-compat over SDL2 have pygame tests fail. Some of these were adressed in https://github.com/libsdl-org/sdl2-compat/issues/367, but pygame still does not yet work with sdl2-compat. Pinning is the simplext solution for now. --- pkgs/development/python-modules/pygame/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pygame/default.nix b/pkgs/development/python-modules/pygame/default.nix index c5c6ac9175eb..8f15d3e3fca9 100644 --- a/pkgs/development/python-modules/pygame/default.nix +++ b/pkgs/development/python-modules/pygame/default.nix @@ -12,7 +12,7 @@ setuptools, # nativeBuildInputs - SDL2, + SDL2_classic, pkg-config, # buildInputs @@ -76,7 +76,7 @@ buildPythonPackage rec { ]; nativeBuildInputs = [ - SDL2 + SDL2_classic pkg-config ]; @@ -86,7 +86,7 @@ buildPythonPackage rec { libpng libX11 portmidi - SDL2 + SDL2_classic SDL2_image SDL2_mixer SDL2_ttf