diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2018-04-26 17:54:25 -0400 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2018-04-26 18:27:42 -0400 |
commit | 31010e0f89a43985122a94728b7dce14ec27739e (patch) | |
tree | 6579040403032efe817b15a559939e95d7a66bf1 /pkgs/development/python-modules/numpy/default.nix | |
parent | 893bf70a1cfe94e257d10ca093c06ddf30dde093 (diff) | |
download | nixpkgs-31010e0f89a43985122a94728b7dce14ec27739e.tar nixpkgs-31010e0f89a43985122a94728b7dce14ec27739e.tar.gz nixpkgs-31010e0f89a43985122a94728b7dce14ec27739e.tar.bz2 nixpkgs-31010e0f89a43985122a94728b7dce14ec27739e.tar.lz nixpkgs-31010e0f89a43985122a94728b7dce14ec27739e.tar.xz nixpkgs-31010e0f89a43985122a94728b7dce14ec27739e.tar.zst nixpkgs-31010e0f89a43985122a94728b7dce14ec27739e.zip |
python3: add C++ compiler support for distutils
This implements 095095c4 ('python: add C++ compiler support for distutils') for python3. Should fix various problems with python packages on darwin.
Diffstat (limited to 'pkgs/development/python-modules/numpy/default.nix')
-rw-r--r-- | pkgs/development/python-modules/numpy/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix index 4022115e9a0..ec727994b09 100644 --- a/pkgs/development/python-modules/numpy/default.nix +++ b/pkgs/development/python-modules/numpy/default.nix @@ -14,8 +14,9 @@ buildPythonPackage rec { buildInputs = [ gfortran nose blas ]; patches = lib.optionals (python.hasDistutilsCxxPatch or false) [ - # See cpython 2.7 patches. - # numpy.distutils is used by cython during it's check phase + # We patch cpython/distutils to fix https://bugs.python.org/issue1222585 + # Patching of numpy.distutils is needed to prevent it from undoing the + # patch to distutils. ./numpy-distutils-C++.patch ]; |