diff --git a/pkgs/development/python-modules/Babel/default.nix b/pkgs/development/python-modules/Babel/default.nix index 96226518800..97b35257820 100644 --- a/pkgs/development/python-modules/Babel/default.nix +++ b/pkgs/development/python-modules/Babel/default.nix @@ -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" '';