pythonPackages.Babel: remove glibcLocales and don't set LC_ALL

as we already set

    LANG = "${if python.stdenv.isDarwin then "en_US" else "C"}.UTF-8";

in `buildPythonPackage`.

This is related to issue https://github.com/NixOS/nixpkgs/issues/74904
This commit is contained in:
Frederik Rietdijk 2019-12-30 10:03:10 +01:00
parent f4e74edd8c
commit 296b2ab3c4

View File

@ -11,14 +11,10 @@ buildPythonPackage rec {
propagatedBuildInputs = [ pytz ];
checkInputs = [ pytest freezegun glibcLocales ];
checkInputs = [ pytest freezegun ];
doCheck = !stdenv.isDarwin;
preCheck = ''
export LC_ALL="en_US.UTF-8"
'';
meta = with lib; {
homepage = http://babel.edgewall.org;
description = "A collection of tools for internationalizing Python applications";