about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-01-07 10:02:48 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-01-07 10:02:48 +0100
commitdceec247054bc565c66354f2a332142fdee186e8 (patch)
treec0c54735b0aeed9be0888b754be5ff7f78c2f9e0
parentc8aead477f46572a7e7d39109a28026aa12c0f7c (diff)
downloadnixlib-dceec247054bc565c66354f2a332142fdee186e8.tar
nixlib-dceec247054bc565c66354f2a332142fdee186e8.tar.gz
nixlib-dceec247054bc565c66354f2a332142fdee186e8.tar.bz2
nixlib-dceec247054bc565c66354f2a332142fdee186e8.tar.lz
nixlib-dceec247054bc565c66354f2a332142fdee186e8.tar.xz
nixlib-dceec247054bc565c66354f2a332142fdee186e8.tar.zst
nixlib-dceec247054bc565c66354f2a332142fdee186e8.zip
python.pkgs.cytoolz: fix build
-rw-r--r--pkgs/development/python-modules/cytoolz/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/cytoolz/default.nix b/pkgs/development/python-modules/cytoolz/default.nix
index 83b1c893719d..9c5a2b2110ce 100644
--- a/pkgs/development/python-modules/cytoolz/default.nix
+++ b/pkgs/development/python-modules/cytoolz/default.nix
@@ -23,6 +23,12 @@ buildPythonPackage rec {
   checkInputs = [ nose ];
   propagatedBuildInputs = [ toolz ];
 
+  # File as accidentally included in release
+  # See https://github.com/pytoolz/cytoolz/issues/116#issuecomment-355770073
+  postPatch = ''
+    rm cytoolz/tests/test_curried_doctests.py
+  '';
+
   # Disable failing test https://github.com/pytoolz/cytoolz/issues/97
   checkPhase = ''
     NOSE_EXCLUDE=test_curried_exceptions nosetests -v $out/${python.sitePackages}