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:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "pygtk-2.24.0";
|
name = "pygtk-2.24.0";
|
||||||
|
|
||||||
disabled = isPy3k;
|
disabled = isPy3k;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
@@ -20,6 +20,8 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
buildPhase = "buildPhase";
|
buildPhase = "buildPhase";
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-ObjC";
|
||||||
|
|
||||||
installPhase = "installPhase";
|
installPhase = "installPhase";
|
||||||
|
|
||||||
checkPhase = stdenv.lib.optionalString (libglade == null)
|
checkPhase = stdenv.lib.optionalString (libglade == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user