diff --git a/pkgs/development/python-modules/flax/default.nix b/pkgs/development/python-modules/flax/default.nix index 3ac8166bbbd..1f1622dc1ae 100644 --- a/pkgs/development/python-modules/flax/default.nix +++ b/pkgs/development/python-modules/flax/default.nix @@ -7,6 +7,7 @@ , msgpack , numpy , optax +, pytest-xdist , pytestCheckHook , tensorflow }: @@ -37,9 +38,11 @@ buildPythonPackage rec { checkInputs = [ keras + pytest-xdist pytestCheckHook tensorflow ]; + pytestFlagsArray = [ "-n $NIX_BUILD_CORES" ]; disabledTestPaths = [ # Docs test, needs extra deps + we're not interested in it.