python3Packages.pathlib2: use the locale specification from buildPythonPackage

Also remove glibcLocale from nativeCheckInputs,
without which the package still builds.
This commit is contained in:
Yueh-Shun Li
2025-03-08 00:29:59 +08:00
parent 5f65774696
commit 597b3c6f54
@@ -5,7 +5,6 @@
six,
pythonOlder,
scandir ? null,
glibcLocales,
typing,
}:
@@ -25,11 +24,6 @@ buildPythonPackage rec {
scandir
typing
];
nativeCheckInputs = [ glibcLocales ];
preCheck = ''
export LC_ALL="en_US.UTF-8"
'';
meta = with lib; {
description = "This module offers classes representing filesystem paths with semantics appropriate for different operating systems";