git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.matplotlib: re-add Cocoa as buildInput on darwin (#22741)
commit99fdc8b65162da56c4d90f4a937f9f0cfdc89b69 authorgeorgewhewell <georgewhewell@users.noreply.github.com> dateMon 13 Feb 2017, 14:03 (10 years ago) parentc0d1226
2 files changed+4−1
pkgs/development/python-modules/matplotlib/default.nix+3−1 pkgs/top-level/python-packages.nix+1
pkgs/development/python-modules/matplotlib/default.nix+3−1
@@ -7,6 +7,7 @@
77, enableTk ? false, tcl ? null, tk ? null, tkinter ? null, libX11 ? null
88, enableQt ? false, pyqt4
99, libcxx
10+, Cocoa
1011}:
1112
1213assert enableGhostscript -> ghostscript != null;
@@ -32,7 +33,8 @@ buildPythonPackage rec {
3233 XDG_RUNTIME_DIR = "/tmp";
3334
3435 buildInputs = [ python which sphinx stdenv ]
35− ++ stdenv.lib.optional enableGhostscript ghostscript;
36+ ++ stdenv.lib.optional enableGhostscript ghostscript
37+ ++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
3638
3739 propagatedBuildInputs =
3840 [ cycler dateutil nose numpy pyparsing tornado freetype
pkgs/top-level/python-packages.nix+1
@@ -14281,6 +14281,7 @@ in {
1428114281 matplotlib = callPackage ../development/python-modules/matplotlib/default.nix {
1428214282 stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
1428314283 enableGhostscript = true;
14284+ inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
1428414285 };
1428514286
1428614287