python3Packages.docutils: use the locale specification from buildPythonPackage
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromRepoOrCz,
|
||||
buildPythonPackage,
|
||||
@@ -34,13 +33,9 @@ let
|
||||
|
||||
nativeCheckInputs = [ pillow ];
|
||||
|
||||
# Only Darwin needs LANG, but we could set it in general.
|
||||
# It's done here conditionally to prevent mass-rebuilds.
|
||||
checkPhase =
|
||||
lib.optionalString stdenv.hostPlatform.isDarwin ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" ''
|
||||
+ ''
|
||||
${python.interpreter} test/alltests.py
|
||||
'';
|
||||
checkPhase = ''
|
||||
${python.interpreter} test/alltests.py
|
||||
'';
|
||||
|
||||
# Create symlinks lacking a ".py" suffix, many programs depend on these names
|
||||
postFixup = ''
|
||||
|
||||
Reference in New Issue
Block a user