From a71ae5ba52fa5c83b45a8b262ef0531bb4446e22 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 2 Dec 2019 23:53:32 -0800 Subject: [PATCH] python3Packages.nose-exclude: disable tests for darwin "OSError: AF_UNIX path too long" --- pkgs/development/python-modules/nose-exclude/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/nose-exclude/default.nix b/pkgs/development/python-modules/nose-exclude/default.nix index 7eb6b6cc0474..7f679e545e7d 100644 --- a/pkgs/development/python-modules/nose-exclude/default.nix +++ b/pkgs/development/python-modules/nose-exclude/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , fetchPypi , nose @@ -15,10 +16,13 @@ buildPythonPackage rec { propagatedBuildInputs = [ nose ]; + # "OSError: AF_UNIX path too long" for darwin + doCheck = !stdenv.isDarwin; + meta = { license = lib.licenses.lgpl21; description = "Exclude specific directories from nosetests runs"; homepage = https://github.com/kgrandis/nose-exclude; maintainers = with lib.maintainers; [ fridh ]; }; -} \ No newline at end of file +}