diff --git a/pkgs/by-name/en/endgame-singularity/package.nix b/pkgs/by-name/en/endgame-singularity/package.nix index 21fd5c4faff5..daa9143f5051 100644 --- a/pkgs/by-name/en/endgame-singularity/package.nix +++ b/pkgs/by-name/en/endgame-singularity/package.nix @@ -31,6 +31,11 @@ python3.pkgs.buildPythonApplication { srcs = [ main_src ] ++ lib.optional enableDefaultMusicPack music_src; sourceRoot = main_src.name; + postPatch = '' + substituteInPlace setup.py \ + --replace-fail "pygame>=2.5.2" "pygame-ce" + ''; + nativeBuildInputs = [ unzip ]; # The music is zipped build-system = with python3.pkgs; [ @@ -38,7 +43,7 @@ python3.pkgs.buildPythonApplication { ]; dependencies = with python3.pkgs; [ - pygame + pygame-ce numpy polib ];