From 6d146fb045685e0c5c2be72f88fe566081214458 Mon Sep 17 00:00:00 2001 From: Mr Hedgehog Date: Thu, 24 Mar 2022 08:56:54 -0400 Subject: [PATCH] python3Packages.pygame: fix build This fixes the pygame build by adding the include/SDL2 directory to the include path. --- pkgs/development/python-modules/pygame/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/pygame/default.nix b/pkgs/development/python-modules/pygame/default.nix index 68e5a90d0cf..909ce1caa38 100644 --- a/pkgs/development/python-modules/pygame/default.nix +++ b/pkgs/development/python-modules/pygame/default.nix @@ -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}/"