summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/numpy
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-09-25 14:03:30 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-09-25 14:03:30 -0400
commitcfbfb9440c17ee280fe38e51bd51dced4e3ebc70 (patch)
tree3a36c04be0841889152396e29ac61e010690671f /pkgs/development/python-modules/numpy
parente6a476c862953ef9853ae069aed6b3df23906637 (diff)
numpy: gfortran and pytest should be nativeBuildInputs
Diffstat (limited to 'pkgs/development/python-modules/numpy')
-rw-r--r--pkgs/development/python-modules/numpy/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix
index af8815dbfb1b..c66650c0abf2 100644
--- a/pkgs/development/python-modules/numpy/default.nix
+++ b/pkgs/development/python-modules/numpy/default.nix
@@ -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