diff --git a/pkgs/development/python-modules/mobly/default.nix b/pkgs/development/python-modules/mobly/default.nix index dc76a6d6ea09..c4d400cae107 100644 --- a/pkgs/development/python-modules/mobly/default.nix +++ b/pkgs/development/python-modules/mobly/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -47,6 +48,13 @@ buildPythonPackage rec { pytz ]; + disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [ + # cannot access /usr/bin/pgrep from the sandbox + "test_stop_standing_subproc" + "test_stop_standing_subproc_and_descendants" + "test_stop_standing_subproc_without_pipe" + ]; + __darwinAllowLocalNetworking = true; meta = with lib; {