python3Packages.pygame: fix build

This fixes the pygame build by adding the include/SDL2 directory to the
include path.
This commit is contained in:
Mr Hedgehog 2022-03-24 08:56:54 -04:00 committed by Jonathan Ringer
parent 943f6db441
commit 6d146fb045

View file

@ -25,6 +25,7 @@ buildPythonPackage rec {
buildinputs_include = builtins.toJSON (builtins.concatMap (dep: [
"${lib.getDev dep}/"
"${lib.getDev dep}/include"
"${lib.getDev dep}/include/SDL2"
]) buildInputs);
buildinputs_lib = builtins.toJSON (builtins.concatMap (dep: [
"${lib.getLib dep}/"