python3Packages.setproctitle: fix darwin build (#452169)

This commit is contained in:
Vladimír Čunát
2025-10-17 09:08:25 +02:00
@@ -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 = {