From c184c87571c2bd4872f10c3ef59e0023c674b3a2 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Wed, 15 Jul 2020 22:11:43 -0400 Subject: [PATCH] pythonPackages.numexpr: fix darwin build by refactoring checkPhase This fixes a following error on python 3.8: FileNotFoundError: [Errno 2] No such file or directory: '/nix/store/0s7kw66pav5c7bi38lb0gznxnxz31a1n-python3.8-numexpr-2.7.1/' --- pkgs/development/python-modules/numexpr/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/numexpr/default.nix b/pkgs/development/python-modules/numexpr/default.nix index d0bb0a88cff..3e3316788ed 100644 --- a/pkgs/development/python-modules/numexpr/default.nix +++ b/pkgs/development/python-modules/numexpr/default.nix @@ -21,17 +21,10 @@ buildPythonPackage rec { propagatedBuildInputs = [ numpy ]; - # Run the test suite. - # It requires the build path to be in the python search path. checkPhase = '' - pushd $out - ${python}/bin/${python.executable} <