mayavi: Drop workaround of vtk's lacking egg-info file

nixpkgs now generates an egg-info file for vtk.
This commit is contained in:
Ben Gamari 2022-12-31 11:09:46 -05:00
parent 06ca784b25
commit 57556157c9

View file

@ -27,10 +27,6 @@ buildPythonPackage rec {
};
postPatch = ''
# Discovery of 'vtk' in setuptools is not working properly, due to a missing
# .egg-info in the vtk package. It does however import and run just fine.
substituteInPlace mayavi/__init__.py --replace "'vtk'" ""
# building the docs fails with the usual Qt xcb error, so skip:
substituteInPlace setup.py \
--replace "build.build.run(self)" "build.build.run(self); return"