From 7e63a205da67bd2fd55e0372a780ca262fb77358 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sun, 10 Jun 2018 20:31:06 -0400 Subject: [PATCH] treewide: disable some darwin checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some network tests frequently fail on darwin. It’s easiest to disable them for now. --- pkgs/development/libraries/libcouchbase/default.nix | 2 +- pkgs/development/python-modules/mygpoclient/default.nix | 2 ++ pkgs/tools/networking/mitmproxy/default.nix | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libcouchbase/default.nix b/pkgs/development/libraries/libcouchbase/default.nix index bf72ec767258..8474b387d851 100644 --- a/pkgs/development/libraries/libcouchbase/default.nix +++ b/pkgs/development/libraries/libcouchbase/default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake pkgconfig ]; buildInputs = [ libevent openssl ]; - doCheck = true; + doCheck = (!stdenv.isDarwin); checkPhase = "ctest"; meta = with stdenv.lib; { diff --git a/pkgs/development/python-modules/mygpoclient/default.nix b/pkgs/development/python-modules/mygpoclient/default.nix index 097898a2d84f..5f30316eb711 100644 --- a/pkgs/development/python-modules/mygpoclient/default.nix +++ b/pkgs/development/python-modules/mygpoclient/default.nix @@ -17,6 +17,8 @@ buildPythonPackage rec { nosetests ''; + doCheck = (!stdenv.isDarwin); + meta = with stdenv.lib; { description = "A gpodder.net client library"; longDescription = '' diff --git a/pkgs/tools/networking/mitmproxy/default.nix b/pkgs/tools/networking/mitmproxy/default.nix index 5f7537eda18d..d3b62d3259cc 100644 --- a/pkgs/tools/networking/mitmproxy/default.nix +++ b/pkgs/tools/networking/mitmproxy/default.nix @@ -18,6 +18,8 @@ buildPythonPackage rec { sed 's/>=\([0-9]\.\?\)\+\( \?, \?<\([0-9]\.\?\)\+\)\?//' -i setup.py ''; + doCheck = (!stdenv.isDarwin); + checkPhase = '' export HOME=$(mktemp -d) export LC_CTYPE=en_US.UTF-8