nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #47355 from obsidiansystems/numpy-fortran

numpy, scipy: Fix some nativeBuildInputs

authored by

John Ericson and committed by
GitHub
8cbf5605 c701d6cb

+4 -2
+2 -1
pkgs/development/python-modules/numpy/default.nix
··· 11 11 }; 12 12 13 13 disabled = isPyPy; 14 - buildInputs = [ gfortran pytest blas ]; 14 + nativeBuildInputs = [ gfortran pytest ]; 15 + buildInputs = [ blas ]; 15 16 16 17 patches = lib.optionals (python.hasDistutilsCxxPatch or false) [ 17 18 # We patch cpython/distutils to fix https://bugs.python.org/issue1222585
+2 -1
pkgs/development/python-modules/scipy/default.nix
··· 10 10 }; 11 11 12 12 checkInputs = [ nose pytest ]; 13 - buildInputs = [ gfortran numpy.blas ]; 13 + nativeBuildInputs = [ gfortran ]; 14 + buildInputs = [ numpy.blas ]; 14 15 propagatedBuildInputs = [ numpy ]; 15 16 16 17 # Remove tests because of broken wrapper