python3Packages.Babel: disable tests on darwin since they fail

cc @fridh
This commit is contained in:
Domen Kožar 2019-11-12 13:09:18 +01:00
parent f1682a7f12
commit e3065afa44
No known key found for this signature in database
GPG Key ID: C2FFBCAFD2C24246

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun, glibcLocales }:
{ stdenv, lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun, glibcLocales }:
buildPythonPackage rec {
pname = "Babel";
@ -13,6 +13,8 @@ buildPythonPackage rec {
checkInputs = [ pytest freezegun glibcLocales ];
doCheck = !stdenv.isDarwin;
preCheck = ''
export LC_ALL="en_US.UTF-8"
'';