From 197de444dfaad1137b45b7ad61cd36e16a5c0852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Tue, 28 Jan 2014 12:13:28 +0100 Subject: [PATCH] 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. --- pkgs/top-level/python-packages.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 5718572399f..62c37e5d30b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 {