From 57556157c98736e44d1222ee67cfe4cd454de65d Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Sat, 31 Dec 2022 11:09:46 -0500 Subject: [PATCH] mayavi: Drop workaround of vtk's lacking egg-info file nixpkgs now generates an egg-info file for vtk. --- pkgs/development/python-modules/mayavi/default.nix | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkgs/development/python-modules/mayavi/default.nix b/pkgs/development/python-modules/mayavi/default.nix index 736fc1d8795..b0ddfeeefcf 100644 --- a/pkgs/development/python-modules/mayavi/default.nix +++ b/pkgs/development/python-modules/mayavi/default.nix @@ -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"