pythonPackages.black: fix tests in sandbox mode on Darwin

Fixes #63722
wip/yesman
Sébastien Maret 5 years ago committed by Frederik Rietdijk
parent bdc4d57ef7
commit 13702bd491
  1. 4
      pkgs/development/python-modules/black/default.nix

@ -15,6 +15,10 @@ buildPythonPackage rec {
checkInputs = [ pytest glibcLocales ];
# Necessary for the tests to pass on Darwin with sandbox enabled.
# Black starts a local server and needs to bind a local address.
__darwinAllowLocalNetworking = true;
# Don't know why these tests fails
checkPhase = ''
LC_ALL="en_US.UTF-8" pytest \

Loading…
Cancel
Save