pythonPackages.numexpr: fix cross

This commit is contained in:
Frederik Rietdijk 2020-11-19 22:04:46 +01:00
parent 1e1560649c
commit f8716c6d5a

View File

@ -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
'';