pythonPackage.progressbar2: Fix

The `postPatch` phase is failing when no `.pyc` file is generated in
`tests` by the build (`rm: missing operand` error).

As per @jonringer's comment, the whole `postPatch` is not needed anymore.
This commit is contained in:
Pamplemousse 2019-12-02 16:28:11 -07:00
parent 71f06ea757
commit ec1a445028

View File

@ -23,11 +23,6 @@ buildPythonPackage rec {
sha256 = "7538d02045a1fd3aa2b2834bfda463da8755bd3ff050edc6c5ddff3bc616215f"; sha256 = "7538d02045a1fd3aa2b2834bfda463da8755bd3ff050edc6c5ddff3bc616215f";
}; };
postPatch = ''
rm -r tests/__pycache__
rm tests/*.pyc
'';
propagatedBuildInputs = [ python-utils ]; propagatedBuildInputs = [ python-utils ];
nativeBuildInputs = [ pytestrunner ]; nativeBuildInputs = [ pytestrunner ];
checkInputs = [ checkInputs = [