From 8ba089c5ae1b0bba53629318bc4480dec99f4925 Mon Sep 17 00:00:00 2001 From: Asko Soukka Date: Fri, 23 Oct 2015 21:00:52 +0300 Subject: [PATCH] darwin: ipython: fix build inputs for darwin --- pkgs/top-level/python-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f9c9a6698f1..116751155fd 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7932,6 +7932,10 @@ let sha256 = "2fd276c407fb0b29e5d4884a7029a2c27fef0a06fd7a34924cce69b7cc43f4da"; }; + prePatch = stdenv.lib.optionalString stdenv.isDarwin '' + substituteInPlace setup.py --replace "'gnureadline'" " " + ''; + buildInputs = with self; [nose] ++ optionals isPy27 [mock]; propagatedBuildInputs = with self;