From ad7764c6154134fe0a18bcab7968ce1ffcb49b47 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Fri, 25 Oct 2019 20:00:00 -0500 Subject: [PATCH] pythonPackages.docker: fix build on darwin --- pkgs/development/python-modules/docker/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/docker/default.nix b/pkgs/development/python-modules/docker/default.nix index 1e5ddc3ed96a..2e0dd468325e 100644 --- a/pkgs/development/python-modules/docker/default.nix +++ b/pkgs/development/python-modules/docker/default.nix @@ -30,8 +30,9 @@ buildPythonPackage rec { ]; # Other tests touch network + # Deselect socket tests on Darwin because it hits the path length limit for a Unix domain socket checkPhase = '' - ${pytest}/bin/pytest tests/unit/ + ${pytest}/bin/pytest tests/unit/ ${stdenv.lib.optionalString stdenv.isDarwin "--deselect=tests/unit/api_test.py::TCPSocketStreamTest"} ''; meta = with stdenv.lib; {