diff --git a/pkgs/development/python-modules/black/default.nix b/pkgs/development/python-modules/black/default.nix index f47c8849cfc1..ea5cd735577e 100644 --- a/pkgs/development/python-modules/black/default.nix +++ b/pkgs/development/python-modules/black/default.nix @@ -60,11 +60,9 @@ buildPythonPackage rec { # Fail on Hydra, see https://github.com/NixOS/nixpkgs/pull/130785 "test_bpo_2142_workaround" "test_skip_magic_trailing_comma" - ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ - # they exceed max open files on hydra builders - "test_blackd_supported_version" - "test_cors_headers_present" ]; + # multiple tests exceed max open files on hydra builders + doCheck = !(stdenv.isLinux && stdenv.isAarch64); propagatedBuildInputs = [ aiohttp