Unverified Commit 7047ffb0 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

python3Packages.setproctitle: fix darwin build (#452169)

parents 20ff5999 72a53342
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 = {