diff --git a/pkgs/development/python-modules/pyserial/default.nix b/pkgs/development/python-modules/pyserial/default.nix index 95ab0f339b0..e8de912c375 100644 --- a/pkgs/development/python-modules/pyserial/default.nix +++ b/pkgs/development/python-modules/pyserial/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchPypi, buildPythonPackage }: +{ lib, fetchPypi, buildPythonPackage, hostPlatform }: buildPythonPackage rec { pname = "pyserial"; @@ -11,6 +11,7 @@ buildPythonPackage rec { }; checkPhase = "python -m unittest discover -s test"; + doInstallCheck = !hostPlatform.isDarwin; # broken on darwin meta = with lib; { homepage = "https://github.com/pyserial/pyserial";