Skip to content

Commit

Permalink
Merge pull request #72002 from marsam/fix-pythonPackages.docker-darwin
Browse files Browse the repository at this point in the history
pythonPackages.docker: fix build on darwin
  • Loading branch information
domenkozar committed Oct 26, 2019
2 parents 6a4726d + ad7764c commit e478127
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/docker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down

0 comments on commit e478127

Please sign in to comment.