From bef19b759f000cd0b2c83665f621cc54c4430188 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 16 Feb 2022 00:23:00 +0100 Subject: [PATCH] python3Packages.hypothesmith: configure parallel build Including pytest-xdist without configuring it has no effect... --- pkgs/development/python-modules/hypothesmith/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/hypothesmith/default.nix b/pkgs/development/python-modules/hypothesmith/default.nix index d1a6625e8c7b..8fe65b3f4d7b 100644 --- a/pkgs/development/python-modules/hypothesmith/default.nix +++ b/pkgs/development/python-modules/hypothesmith/default.nix @@ -18,6 +18,10 @@ buildPythonPackage rec { checkInputs = [ black parso pytestCheckHook pytest-cov pytest-xdist ]; + pytestFlagsArray = [ + "--numprocesses $NIX_BUILD_CORES" + ]; + pythonImportsCheck = [ "hypothesmith" ]; meta = with lib; {