pygtk: Add flag -ObjC for darwin

Had to add this so that it was able to parse the headers from the frameworks.
This commit is contained in:
Johannes Bornhold 2016-12-23 22:20:30 +01:00
parent 5a572f8018
commit 8f7adffe4d

View File

@ -3,7 +3,7 @@
buildPythonPackage rec {
name = "pygtk-2.24.0";
disabled = isPy3k;
src = fetchurl {
@ -20,6 +20,8 @@ buildPythonPackage rec {
buildPhase = "buildPhase";
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-ObjC";
installPhase = "installPhase";
checkPhase = stdenv.lib.optionalString (libglade == null)