mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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:
parent
5a572f8018
commit
8f7adffe4d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user