From 62a94d2c40c8b3dc333fcd2b7a4c0018373379a1 Mon Sep 17 00:00:00 2001 From: krzygorz Date: Mon, 8 Feb 2021 20:44:21 +0100 Subject: [PATCH] python3Packages.numba: use pythonImportsCheck Since the unit tests are disabled, we should at least do a pythonImportsCheck Co-authored-by: Jonathan Ringer --- pkgs/development/python-modules/numba/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/numba/default.nix b/pkgs/development/python-modules/numba/default.nix index ebf3796cd327..3f67c044deab 100644 --- a/pkgs/development/python-modules/numba/default.nix +++ b/pkgs/development/python-modules/numba/default.nix @@ -23,8 +23,8 @@ buildPythonPackage rec { NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; - propagatedBuildInputs = [numpy llvmlite setuptools]; - + propagatedBuildInputs = [ numpy llvmlite setuptools ]; + pythonImportsCheck = [ "numba" ]; # Copy test script into $out and run the test suite. checkPhase = '' ${python.interpreter} -m numba.runtests