diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-11-19 22:04:46 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-11-19 22:05:10 +0100 |
commit | f8716c6d5a50dd1afb488ed935f7f9ff6605a61d (patch) | |
tree | f6ba081c95b746c343e8b6fc4ec1f00ae2f8981f /pkgs/development/python-modules/numexpr | |
parent | 1e1560649cf9a825e9581d8e04711ae273a824cc (diff) |
pythonPackages.numexpr: fix cross
Diffstat (limited to 'pkgs/development/python-modules/numexpr')
-rw-r--r-- | pkgs/development/python-modules/numexpr/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/numexpr/default.nix b/pkgs/development/python-modules/numexpr/default.nix index 3e3316788ed13..046f0a5bd5d1b 100644 --- a/pkgs/development/python-modules/numexpr/default.nix +++ b/pkgs/development/python-modules/numexpr/default.nix @@ -19,12 +19,18 @@ buildPythonPackage rec { ln -s ${numpy.cfg} site.cfg ''; - propagatedBuildInputs = [ numpy ]; + nativeBuildInputs = [ + numpy + ]; + + propagatedBuildInputs = [ + numpy + ]; checkPhase = '' runtest="$(pwd)/numexpr/tests/test_numexpr.py" pushd "$out" - ${python}/bin/${python.executable} "$runtest" + ${python.interpreter} "$runtest" popd ''; |