about summary refs log tree commit diff
path: root/pkgs/development/python-modules/binaryornot/default.nix
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-03-02 15:21:48 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2019-03-02 15:21:48 +0100
commit736025e23430626c43218400ea788fac53d396c9 (patch)
treed0cd3233b427e3fe5057cd13839503229df9ec24 /pkgs/development/python-modules/binaryornot/default.nix
parent2e16d3d2c8d49e805db5ed9f1b62a4edf6b6db90 (diff)
python.pkgs.binaryornot: fix build
Diffstat (limited to 'pkgs/development/python-modules/binaryornot/default.nix')
-rw-r--r--pkgs/development/python-modules/binaryornot/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/binaryornot/default.nix b/pkgs/development/python-modules/binaryornot/default.nix
index 2f0b01a5c23d0..77f1ff7cbd09a 100644
--- a/pkgs/development/python-modules/binaryornot/default.nix
+++ b/pkgs/development/python-modules/binaryornot/default.nix
@@ -10,9 +10,9 @@ buildPythonPackage rec {
   };
 
   prePatch = ''
-    # See https://github.com/audreyr/binaryornot/issues/40
+    # TypeError: binary() got an unexpected keyword argument 'average_size'
     substituteInPlace tests/test_check.py \
-      --replace "average_size=512" "average_size=128"
+      --replace "average_size=512" ""
   '';
 
   propagatedBuildInputs = [ chardet ];