ipython: disable support for qtconsole, pylabQt and pylab on Darwin

Qt and CUPS are not supported on Darwin and are dependencies.

Note: this makes ipython the same as ipythonLight on Darwin, but
ipython is used as an input for other packages (ipdb and ipdplugin)
and it is reasonable to assume that users on other platforms may
choose ipythonLight.
This commit is contained in:
Cillian de Róiste 2014-01-28 12:13:28 +01:00
parent e5995e0703
commit 197de444df

View File

@ -65,6 +65,9 @@ pythonPackages = modules // import ./python-packages-generated.nix {
ipython = import ../shells/ipython {
inherit (pkgs) stdenv fetchurl sip pyqt4;
inherit buildPythonPackage pythonPackages;
qtconsoleSupport = !pkgs.stdenv.isDarwin; # qt is not supported on darwin
pylabQtSupport = !pkgs.stdenv.isDarwin;
pylabSupport = !pkgs.stdenv.isDarwin; # cups is not supported on darwin
};
ipythonLight = lowPrio (import ../shells/ipython {