buildPythonPackage: always export LANG=C.UTF-8

This commit is contained in:
Frederik Rietdijk
2019-02-15 13:30:59 +01:00
parent e7b4608d02
commit 1fccd25595
3 changed files with 9 additions and 2 deletions

View File

@@ -90,6 +90,8 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
# Enabled to detect some (native)BuildInputs mistakes
strictDeps = true;
LANG = "${if python.stdenv.isDarwin then "en_US" else "C"}.UTF-8";
# Python packages don't have a checkPhase, only an installCheckPhase
doCheck = false;
doInstallCheck = doCheck;