python: provide hasCxxDistutils attribute for pythonPackages.numpy

Patching numpy.distutils used to be required for pythonPackages.cython
to build on darwin. It was later accidentally disabled during one of the
refactorings, but that did not break cython. This change reinstantiates
the patch. It still applies, so it should be low maintenance and it can
still be useful.
This commit is contained in:
Dmitry Kalinkin
2019-04-17 22:57:20 -04:00
committed by Frederik Rietdijk
parent e1502a8be2
commit 8fa36fc8a1
6 changed files with 7 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ let
executable = libPrefix;
pythonVersion = with sourceVersion; "${major}.${minor}";
sitePackages = "lib/${libPrefix}/site-packages";
inherit pythonForBuild;
inherit hasDistutilsCxxPatch pythonForBuild;
};
version = with sourceVersion; "${major}.${minor}.${patch}${suffix}";