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:
@@ -11,14 +11,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ pytz ];
|
propagatedBuildInputs = [ pytz ];
|
||||||
|
|
||||||
checkInputs = [ pytest freezegun glibcLocales ];
|
checkInputs = [ pytest freezegun ];
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
preCheck = ''
|
|
||||||
export LC_ALL="en_US.UTF-8"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = http://babel.edgewall.org;
|
homepage = http://babel.edgewall.org;
|
||||||
description = "A collection of tools for internationalizing Python applications";
|
description = "A collection of tools for internationalizing Python applications";
|
||||||
|
|||||||
Reference in New Issue
Block a user