diff --git a/pkgs/development/python-modules/ipython/default.nix b/pkgs/development/python-modules/ipython/default.nix index 67d47d58d168..f94b690b7f7b 100644 --- a/pkgs/development/python-modules/ipython/default.nix +++ b/pkgs/development/python-modules/ipython/default.nix @@ -17,6 +17,7 @@ , pexpect , appnope , backcall +, fetchpatch }: buildPythonPackage rec { @@ -33,6 +34,13 @@ buildPythonPackage rec { substituteInPlace setup.py --replace "'gnureadline'" " " ''; + patches = [ + (fetchpatch { + url = "https://github.com/ipython/ipython/commit/e1b53e9ef91a43b9e275bb9e48b4253218375d87.patch"; + sha256 = "sha256:0q7zsgalwxss6aikhakbdkvvz0g4ac4sa3ncrklm74ksqh56rsgb"; + }) + ]; + buildInputs = [ glibcLocales ]; checkInputs = [ nose pygments ];