From be6bf14e4acb3e27071a9390956470f45b5a3dcf Mon Sep 17 00:00:00 2001 From: toonn Date: Mon, 19 Jul 2021 22:48:02 +0200 Subject: [PATCH] sphinx: Disable test_inspect_main_url on Darwin --- pkgs/development/python-modules/sphinx/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/sphinx/default.nix b/pkgs/development/python-modules/sphinx/default.nix index abe303507443..ec109c68e565 100644 --- a/pkgs/development/python-modules/sphinx/default.nix +++ b/pkgs/development/python-modules/sphinx/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , pythonOlder , fetchFromGitHub @@ -82,6 +83,9 @@ buildPythonPackage rec { # requires imagemagick (increases build closure size), doesn't # test anything substantial "test_ext_imgconverter" + ] ++ lib.optional stdenv.isDarwin [ + # Due to lack of network sandboxing can't guarantee port 7777 isn't bound + "test_inspect_main_url" ]; meta = with lib; {