From 680957d8b27de04d04a6502ef06f1a7ac7a930c4 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sat, 23 Jun 2018 17:48:19 -0400 Subject: [PATCH] pyserial: disable install check on darwin --- pkgs/development/python-modules/pyserial/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pyserial/default.nix b/pkgs/development/python-modules/pyserial/default.nix index 95ab0f339b06..e8de912c3754 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";