diff options
author | Johannes Bornhold <johannes@bornhold.name> | 2016-12-23 22:20:30 +0100 |
---|---|---|
committer | Johannes Bornhold <johannes@bornhold.name> | 2017-01-07 17:35:09 +0100 |
commit | 8f7adffe4deefafc40f170194718e7837bf9208a (patch) | |
tree | 12603d960e4e4931a9241d85bc3add25ce70a71c /pkgs | |
parent | 5a572f80185b2ad2a06ca42ed61bbe08cd14198b (diff) | |
download | nixpkgs-8f7adffe4deefafc40f170194718e7837bf9208a.tar nixpkgs-8f7adffe4deefafc40f170194718e7837bf9208a.tar.gz nixpkgs-8f7adffe4deefafc40f170194718e7837bf9208a.tar.bz2 nixpkgs-8f7adffe4deefafc40f170194718e7837bf9208a.tar.lz nixpkgs-8f7adffe4deefafc40f170194718e7837bf9208a.tar.xz nixpkgs-8f7adffe4deefafc40f170194718e7837bf9208a.tar.zst nixpkgs-8f7adffe4deefafc40f170194718e7837bf9208a.zip |
pygtk: Add flag -ObjC for darwin
Had to add this so that it was able to parse the headers from the frameworks.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/pygtk/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pygtk/default.nix b/pkgs/development/python-modules/pygtk/default.nix index 7d0896c1fb8..0940ef00ac9 100644 --- a/pkgs/development/python-modules/pygtk/default.nix +++ b/pkgs/development/python-modules/pygtk/default.nix @@ -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) |