1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

Merge pull request #47355 from obsidiansystems/numpy-fortran

numpy, scipy: Fix some nativeBuildInputs
This commit is contained in:
John Ericson 2018-09-25 14:45:40 -04:00 committed by GitHub
commit 8cbf56058a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,8 @@ buildPythonPackage rec {
};
disabled = isPyPy;
buildInputs = [ gfortran pytest blas ];
nativeBuildInputs = [ gfortran pytest ];
buildInputs = [ blas ];
patches = lib.optionals (python.hasDistutilsCxxPatch or false) [
# We patch cpython/distutils to fix https://bugs.python.org/issue1222585

View file

@ -10,7 +10,8 @@ buildPythonPackage rec {
};
checkInputs = [ nose pytest ];
buildInputs = [ gfortran numpy.blas ];
nativeBuildInputs = [ gfortran ];
buildInputs = [ numpy.blas ];
propagatedBuildInputs = [ numpy ];
# Remove tests because of broken wrapper