python3Packages.mkPythonDerivation: move LANG into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-12 18:37:46 +01:00
parent 0e75e05693
commit 2d73bd4b51

View File

@@ -388,7 +388,10 @@ lib.extendMkDerivation {
inherit strictDeps;
LANG = "${if python.stdenv.hostPlatform.isDarwin then "en_US" else "C"}.UTF-8";
env = {
LANG = "${if python.stdenv.hostPlatform.isDarwin then "en_US" else "C"}.UTF-8";
}
// (attrs.env or { });
# Python packages don't have a checkPhase, only an installCheckPhase
doCheck = false;