diff --git a/pkgs/development/python-modules/sanic/default.nix b/pkgs/development/python-modules/sanic/default.nix index a3b21168b228..47f69183d685 100644 --- a/pkgs/development/python-modules/sanic/default.nix +++ b/pkgs/development/python-modules/sanic/default.nix @@ -67,8 +67,8 @@ buildPythonPackage rec { inherit doCheck; preCheck = '' - # Some tests depends on executables on PATH - PATH="$out/bin:${gunicorn}/bin:$PATH" + # Some tests depends on sanic on PATH + PATH="$out/bin:$PATH" ''; disabledTests = [ @@ -86,6 +86,16 @@ buildPythonPackage rec { ] ++ lib.optionals stdenv.isDarwin [ # https://github.com/sanic-org/sanic/issues/2298 "test_no_exceptions_when_cancel_pending_request" + ] ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-linux") [ + # These appear to be very sensitive to output of commands + # Output is different on aarch64 + "test_server_run" + "test_host_port" + "test_num_workers" + "test_access_logs" + "test_version" + # Failing for a different reason than Darwin + "test_no_exceptions_when_cancel_pending_request" ]; # avoid usage of nixpkgs-review in darwin since tests will compete usage