diff --git a/pkgs/development/python-modules/setproctitle/default.nix b/pkgs/development/python-modules/setproctitle/default.nix index fdb412cb499e..e99a26990139 100644 --- a/pkgs/development/python-modules/setproctitle/default.nix +++ b/pkgs/development/python-modules/setproctitle/default.nix @@ -5,6 +5,7 @@ setuptools, pytestCheckHook, procps, + stdenv, }: buildPythonPackage rec { @@ -26,6 +27,9 @@ buildPythonPackage rec { procps ]; + # Setting the process title fails on macOS in the Nix builder environment (regardless of sandboxing) + disabledTests = if stdenv.hostPlatform.isDarwin then [ "test_setproctitle_darwin" ] else null; + pythonImportsCheck = [ "setproctitle" ]; meta = {