Skip to content

Commit

Permalink
pythonPackages.numexpr: fix cross
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Nov 19, 2020
1 parent 1e15606 commit f8716c6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pkgs/development/python-modules/numexpr/default.nix
Expand Up @@ -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
'';

Expand Down

0 comments on commit f8716c6

Please sign in to comment.